(svn r21709) -Fix (r8128): Vehicle sprite was cached into a 16 bit variable, causing incorrect sprites to be displayed.

This commit is contained in:
peter1138
2011-01-04 12:04:09 +00:00
parent d9305ef99d
commit 3408814169
2 changed files with 3 additions and 3 deletions

View File

@@ -174,7 +174,7 @@ public:
byte spritenum; ///< currently displayed sprite index
///< 0xfd == custom sprite, 0xfe == custom second head sprite
///< 0xff == reserved for another custom sprite
uint16 cur_image; ///< sprite number for this vehicle
SpriteID cur_image; ///< sprite number for this vehicle
byte x_extent; ///< x-extent of vehicle bounding box
byte y_extent; ///< y-extent of vehicle bounding box
byte z_extent; ///< z-extent of vehicle bounding box