summaryrefslogtreecommitdiff
path: root/water_cmd.c
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2004-12-19 09:33:02 +0000
committerdominik <dominik@openttd.org>2004-12-19 09:33:02 +0000
commitcf89cb12cd49333fba3b72001f52f1032c036f62 (patch)
treea8e7e73c8803015c5e1a31da8ee6205b3fd2fbde /water_cmd.c
parentf18b913493d370df69b031b8270a9ad9a7ee1ea5 (diff)
downloadopenttd-cf89cb12cd49333fba3b72001f52f1032c036f62.tar.xz
(svn r1166) Fix: [ 1040119 ] Flooded wagons in depots don't keep constantly exploding any more
Diffstat (limited to 'water_cmd.c')
-rw-r--r--water_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/water_cmd.c b/water_cmd.c
index 3a878a50b..3e04e1491 100644
--- a/water_cmd.c
+++ b/water_cmd.c
@@ -562,9 +562,9 @@ static void FloodVehicle(Vehicle *v)
NEWS_FLAGS(NM_THIN, NF_VIEWPORT|NF_VEHICLE, NT_ACCIDENT, 0),
v->index,
0);
- }
CreateEffectVehicleRel(v,4,4,8,EV_CRASHED_SMOKE); // show cool destruction effects
SndPlayVehicleFx(SND_12_EXPLOSION, v); // create sound
+ }
}
// called from tunnelbridge_cmd