forked from mirror/OpenTTD
(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
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user