Codechange: use designated initialisers for _tile_type_tunnelbridge_procs

This commit is contained in:
Rubidium
2026-02-18 17:03:33 +01:00
committed by rubidium42
parent 8bc3c13a7e
commit b387f55ff7
2 changed files with 26 additions and 24 deletions
+1 -1
View File
@@ -1618,7 +1618,7 @@ static void UpdateStatusAfterSwap(Train *v)
if (v->track != TRACK_BIT_WORMHOLE) {
VehicleEnterTile(v, v->tile, v->x_pos, v->y_pos);
} else {
/* VehicleEnter_TunnelBridge() sets TRACK_BIT_WORMHOLE when the vehicle
/* VehicleEnterTile_TunnelBridge() sets TRACK_BIT_WORMHOLE when the vehicle
* is on the last bit of the bridge head (frame == TILE_SIZE - 1).
* If we were swapped with such a vehicle, we have set TRACK_BIT_WORMHOLE,
* when we shouldn't have. Check if this is the case. */