(svn r21876) -Codechange: typedef SpecializedVehicleBase and GroundVehicleBase to reduce typing
This commit is contained in:
@@ -23,7 +23,7 @@ struct Ship: public SpecializedVehicle<Ship, VEH_SHIP> {
|
||||
TrackBitsByte state;
|
||||
|
||||
/** We don't want GCC to zero our struct! It already is zeroed and has an index! */
|
||||
Ship() : SpecializedVehicle<Ship, VEH_SHIP>() {}
|
||||
Ship() : SpecializedVehicleBase() {}
|
||||
/** We want to 'destruct' the right class. */
|
||||
virtual ~Ship() { this->PreDestructor(); }
|
||||
|
||||
|
Reference in New Issue
Block a user