summaryrefslogtreecommitdiff
path: root/water_cmd.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-02-12 15:53:32 +0000
committertron <tron@openttd.org>2005-02-12 15:53:32 +0000
commit6b83a05adabaf5ab47d981b83d8bbf2c7cfc59c3 (patch)
treeca1e02fe05c2c7241836503d7f08bb634c442bfd /water_cmd.c
parentac758b6875ac1c95dc2ec0fadbb5b7d5ef7e8c67 (diff)
downloadopenttd-6b83a05adabaf5ab47d981b83d8bbf2c7cfc59c3.tar.xz
(svn r1863) Give the effect vehicle type enums more descriptive names and use the enum as parameter type for CreateEffectVehicle*()
-Fix: [1116619] Generate the correct smoke type for diesel trains
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 c1533e04c..263a482bd 100644
--- a/water_cmd.c
+++ b/water_cmd.c
@@ -601,7 +601,7 @@ 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
+ CreateEffectVehicleRel(v, 4, 4, 8, EV_EXPLOSION_LARGE); // show cool destruction effects
SndPlayVehicleFx(SND_12_EXPLOSION, v); // create sound
}
}