Mercurial > hg > openttd
diff src/train_cmd.cpp @ 9008:bc4efc6bfe0d draft
(svn r12803) -Cleanup: rename SpecialVehicle to EffectVehicle to have a uniform naming of the thing instead of using both names for the same thing.
author | rubidium <rubidium@openttd.org> |
---|---|
date | Sun, 20 Apr 2008 10:13:54 +0000 |
parents | ac23e012c9d7 |
children | 870efbdb988d |
line wrap: on
line diff
--- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -3237,7 +3237,7 @@ if (!(v->vehstatus & VS_HIDDEN)) { Vehicle *u = CreateEffectVehicleRel(v, 4, 4, 5, EV_BREAKDOWN_SMOKE); - if (u != NULL) u->u.special.animation_state = v->breakdown_delay * 2; + if (u != NULL) u->u.effect.animation_state = v->breakdown_delay * 2; } }