diff options
Diffstat (limited to 'disaster_cmd.c')
-rw-r--r-- | disaster_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/disaster_cmd.c b/disaster_cmd.c index d053ff199..06d856a87 100644 --- a/disaster_cmd.c +++ b/disaster_cmd.c @@ -656,7 +656,7 @@ static void DisasterTick_5_and_6(Vehicle *v) if (!(v->tick_counter&1)) return; - tile = v->tile + TileOffsByDir(v->direction >> 1); + tile = v->tile + TileOffsByDir(DirToDiagDir(v->direction)); if (IsValidTile(tile) && (r=GetTileTrackStatus(tile,TRANSPORT_WATER),(byte)(r+(r >> 8)) == 0x3F) && !CHANCE16(1,90)) { |