summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-02-24 22:35:42 +0000
committerrubidium <rubidium@openttd.org>2007-02-24 22:35:42 +0000
commit5aaff3b5a1bb6dc7a4bc23e25f8d74086437435b (patch)
tree9f26ecf5a63fb97d46a2646ca06ec980cb7b1f00
parent5dcd88c59cd2cee1a333d75b4a23de99a7a19271 (diff)
downloadopenttd-5aaff3b5a1bb6dc7a4bc23e25f8d74086437435b.tar.xz
(svn r8889) -Fix (r8880): a CursorID is not a SpriteID.
-rw-r--r--src/gfx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gfx.h b/src/gfx.h
index 16704c5c6..ab7a1c1ee 100644
--- a/src/gfx.h
+++ b/src/gfx.h
@@ -101,7 +101,7 @@ typedef struct Rect {
/** A single sprite of a list of animated cursors */
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
byte display_time; ///< Amount of ticks this sprite will be shown
};