(svn r21709) -Fix (r8128): Vehicle sprite was cached into a 16 bit variable, causing incorrect sprites to be displayed.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user