diff options
author | tron <tron@openttd.org> | 2005-02-12 15:53:32 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-02-12 15:53:32 +0000 |
commit | 6b83a05adabaf5ab47d981b83d8bbf2c7cfc59c3 (patch) | |
tree | ca1e02fe05c2c7241836503d7f08bb634c442bfd /roadveh_cmd.c | |
parent | ac758b6875ac1c95dc2ec0fadbb5b7d5ef7e8c67 (diff) | |
download | openttd-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 'roadveh_cmd.c')
-rw-r--r-- | roadveh_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roadveh_cmd.c b/roadveh_cmd.c index 6dd84da5a..25270fc5e 100644 --- a/roadveh_cmd.c +++ b/roadveh_cmd.c @@ -509,7 +509,7 @@ static void RoadVehIsCrashed(Vehicle *v) { v->u.road.crashed_ctr++; if (v->u.road.crashed_ctr == 2) { - CreateEffectVehicleRel(v,4,4,8,EV_CRASHED_SMOKE); + CreateEffectVehicleRel(v, 4, 4, 8, EV_EXPLOSION_LARGE); } else if (v->u.road.crashed_ctr <= 45) { if ((v->tick_counter&7)==0) RoadVehSetRandomDirection(v); |