(svn r16472) -Codechange: set vehicle type in SpecializedVehicle constructor instead of constructor of each vehicle type
This commit is contained in:
@@ -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() {}
|
||||
|
||||
|
Reference in New Issue
Block a user