diff options
author | peter1138 <peter1138@openttd.org> | 2008-04-21 20:50:58 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2008-04-21 20:50:58 +0000 |
commit | 5dcd689f5662d93ade95e3fd04332b8456605add (patch) | |
tree | b307e9b6916fb53727cd6a80f2c5478a0b4ab819 /src/vehicle_base.h | |
parent | 173ac52da5c933f35e5cae799679bed8c580078f (diff) | |
download | openttd-5dcd689f5662d93ade95e3fd04332b8456605add.tar.xz |
(svn r12824) -Codechange: Standardise routines for drawing vehicle images, using correct types and less duplication.
Diffstat (limited to 'src/vehicle_base.h')
-rw-r--r-- | src/vehicle_base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_base.h b/src/vehicle_base.h index c27fd5aaa..283b743c9 100644 --- a/src/vehicle_base.h +++ b/src/vehicle_base.h @@ -390,7 +390,7 @@ public: * @param direction the direction the vehicle is facing * @return the sprite for the given vehicle in the given direction */ - virtual int GetImage(Direction direction) const { return 0; } + virtual SpriteID GetImage(Direction direction) const { return 0; } /** * Gets the speed in mph that can be sent into SetDParam for string processing. |