diff options
author | smatz <smatz@openttd.org> | 2011-01-21 14:43:38 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2011-01-21 14:43:38 +0000 |
commit | 6dc24cf6431be66432d53f33d92ef5abbc80f88c (patch) | |
tree | 9f86818f99cf742d4ec14515b95baa1422c18962 /src/ship.h | |
parent | 656caf16dbf2010fc742b1dfabcf317f2ab19748 (diff) | |
download | openttd-6dc24cf6431be66432d53f33d92ef5abbc80f88c.tar.xz |
(svn r21876) -Codechange: typedef SpecializedVehicleBase and GroundVehicleBase to reduce typing
Diffstat (limited to 'src/ship.h')
-rw-r--r-- | src/ship.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ship.h b/src/ship.h index ca4cefa6d..7d47ae876 100644 --- a/src/ship.h +++ b/src/ship.h @@ -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(); } |