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 bcb69e8f8..23c7e3fcb 100644 --- a/disaster_cmd.c +++ b/disaster_cmd.c @@ -641,7 +641,7 @@ static void DisasterTick_5_and_6(Vehicle *v) tile = v->tile + _tileoffs_by_dir[v->direction >> 1]; if (IsValidTile(tile) && - (r=GetTileTrackStatus(tile,4),(byte)(r+(r >> 8)) == 0x3F) && + (r=GetTileTrackStatus(tile,TRANSPORT_WATER),(byte)(r+(r >> 8)) == 0x3F) && !CHANCE16(1,90)) { GetNewVehiclePos(v, &gp); SetDisasterVehiclePos(v, gp.x, gp.y, v->z_pos); |