(svn r21876) -Codechange: typedef SpecializedVehicleBase and GroundVehicleBase to reduce typing

This commit is contained in:
smatz
2011-01-21 14:43:38 +00:00
parent 656caf16db
commit 6dc24cf643
7 changed files with 10 additions and 6 deletions

View File

@@ -27,7 +27,7 @@ struct EffectVehicle : public SpecializedVehicle<EffectVehicle, VEH_EFFECT> {
byte animation_substate;
/** We don't want GCC to zero our struct! It already is zeroed and has an index! */
EffectVehicle() : SpecializedVehicle<EffectVehicle, VEH_EFFECT>() {}
EffectVehicle() : SpecializedVehicleBase() {}
/** We want to 'destruct' the right class. */
virtual ~EffectVehicle() {}