From a05e9b4c6b82e3bd8a0848c81b822c0a55acd4f6 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Mon, 21 Apr 2008 20:50:58 +0000 Subject: (svn r12824) -Codechange: Standardise routines for drawing vehicle images, using correct types and less duplication. --- src/vehicle_base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vehicle_base.h') 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. -- cgit v1.2.3-54-g00ecf