From f55ffd14bdaa85f9eb7c22c442f46169f63137be Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 20 Apr 2008 10:13:54 +0000 Subject: (svn r12803) -Cleanup: rename SpecialVehicle to EffectVehicle to have a uniform naming of the thing instead of using both names for the same thing. --- src/train_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/train_cmd.cpp') diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index 15c47450f..8d6874163 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -3237,7 +3237,7 @@ static void HandleBrokenTrain(Vehicle *v) 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; } } -- cgit v1.2.3-54-g00ecf