diff options
author | smatz <smatz@openttd.org> | 2009-05-26 22:10:13 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2009-05-26 22:10:13 +0000 |
commit | 7ee882d03f4c41d8659ed82fd5be0d0efbae0a0c (patch) | |
tree | 7107a4626a58464bd677e9fb8f7576cadf1b8bf2 /src/ship.h | |
parent | aa546e513f6b121377fd1b6cad1b727f89b66528 (diff) | |
download | openttd-7ee882d03f4c41d8659ed82fd5be0d0efbae0a0c.tar.xz |
(svn r16441) -Codechange: new class SpecializedVehicle used as superclass for all vehicle types
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 f6306a8d4..67f1a8748 100644 --- a/src/ship.h +++ b/src/ship.h @@ -22,7 +22,7 @@ void GetShipSpriteSize(EngineID engine, uint &width, uint &height); * * As side-effect the vehicle type is set correctly. */ -struct Ship: public Vehicle { +struct Ship: public SpecializedVehicle<Ship, VEH_SHIP> { TrackBitsByte state; /** Initializes the Vehicle to a ship */ |