summaryrefslogtreecommitdiff
path: root/src/roadveh_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-04-20 10:13:54 +0000
committerrubidium <rubidium@openttd.org>2008-04-20 10:13:54 +0000
commitf55ffd14bdaa85f9eb7c22c442f46169f63137be (patch)
tree417e4bd30794e812ee9200d90aec95d9c7d5dc14 /src/roadveh_cmd.cpp
parent12ae3a2194011c7260da8286b7dc527eaacb1329 (diff)
downloadopenttd-f55ffd14bdaa85f9eb7c22c442f46169f63137be.tar.xz
(svn r12803) -Cleanup: rename SpecialVehicle to EffectVehicle to have a uniform naming of the thing instead of using both names for the same thing.
Diffstat (limited to 'src/roadveh_cmd.cpp')
-rw-r--r--src/roadveh_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp
index 78a5d5ee2..49176ccc0 100644
--- a/src/roadveh_cmd.cpp
+++ b/src/roadveh_cmd.cpp
@@ -704,7 +704,7 @@ static void HandleBrokenRoadVeh(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;
}
}