summaryrefslogtreecommitdiff
path: root/src/effectvehicle_base.h
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2009-05-30 20:13:12 +0000
committersmatz <smatz@openttd.org>2009-05-30 20:13:12 +0000
commit8c11d612e44c30e124881ca47e15eda9ef0c5491 (patch)
tree3fdeab30fd2afc97d9b36c09471e7ce31b56d8c2 /src/effectvehicle_base.h
parent7633362912384ba7759724a2bbc057d97e5f27f0 (diff)
downloadopenttd-8c11d612e44c30e124881ca47e15eda9ef0c5491.tar.xz
(svn r16472) -Codechange: set vehicle type in SpecializedVehicle constructor instead of constructor of each vehicle type
Diffstat (limited to 'src/effectvehicle_base.h')
-rw-r--r--src/effectvehicle_base.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/effectvehicle_base.h b/src/effectvehicle_base.h
index 5340bdd5d..15c100b06 100644
--- a/src/effectvehicle_base.h
+++ b/src/effectvehicle_base.h
@@ -19,9 +19,6 @@ struct EffectVehicle : public SpecializedVehicle<EffectVehicle, VEH_EFFECT> {
uint16 animation_state;
byte animation_substate;
- /** Initializes the Vehicle to a special vehicle */
- EffectVehicle() { this->type = VEH_EFFECT; }
-
/** We want to 'destruct' the right class. */
virtual ~EffectVehicle() {}