* Advance the internal state to the next potential vehicle. */
| 460 | * Advance the internal state to the next potential vehicle. |
| 461 | */ |
| 462 | void VehiclesNearTileXY::Iterator::Increment() |
| 463 | { |
| 464 | assert(this->current_veh != nullptr); |
| 465 | this->current_veh = this->current_veh->hash_tile_next; |
| 466 | this->SkipEmptyBuckets(); |
| 467 | } |
| 468 | |
| 469 | /** |
| 470 | * Advance the internal state until we reach a non-empty bucket, or the end. |
no test coverage detected