summaryrefslogtreecommitdiff
path: root/src/vehicle_base.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-04-21 20:50:58 +0000
committerpeter1138 <peter1138@openttd.org>2008-04-21 20:50:58 +0000
commita05e9b4c6b82e3bd8a0848c81b822c0a55acd4f6 (patch)
treeb307e9b6916fb53727cd6a80f2c5478a0b4ab819 /src/vehicle_base.h
parentf43661e790561a9b1f9c6c2114c641d1e0694176 (diff)
downloadopenttd-a05e9b4c6b82e3bd8a0848c81b822c0a55acd4f6.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.h2
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.