mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-09-01 10:59:12 +00:00
(svn r8889) -Fix (r8880): a CursorID is not a SpriteID.
This commit is contained in:
@@ -101,7 +101,7 @@ typedef struct Rect {
|
|||||||
|
|
||||||
/** A single sprite of a list of animated cursors */
|
/** A single sprite of a list of animated cursors */
|
||||||
struct AnimCursor {
|
struct AnimCursor {
|
||||||
static const SpriteID LAST = MAX_UVALUE(CursorID);
|
static const CursorID LAST = MAX_UVALUE(CursorID);
|
||||||
CursorID sprite; ///< Must be set to LAST_ANIM when it is the last sprite of the loop
|
CursorID sprite; ///< Must be set to LAST_ANIM when it is the last sprite of the loop
|
||||||
byte display_time; ///< Amount of ticks this sprite will be shown
|
byte display_time; ///< Amount of ticks this sprite will be shown
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user