mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-26 00:45:35 +00:00
Codechange: use designated initialisers for _tile_type_tunnelbridge_procs
This commit is contained in:
+1
-1
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user