summaryrefslogtreecommitdiff
path: root/spritecache.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-02-11 17:12:11 +0000
committertron <tron@openttd.org>2005-02-11 17:12:11 +0000
commit9c99c7d11a105485be2aaed5fbb170651fdb91ff (patch)
tree6472a312a94e73099637859190559fe120d56e69 /spritecache.h
parent3a93a250b74a1d13a252f0bfffc221f3d61c7db1 (diff)
downloadopenttd-9c99c7d11a105485be2aaed5fbb170651fdb91ff.tar.xz
(svn r1861) Constify Get(Non)Sprite()
Diffstat (limited to 'spritecache.h')
-rw-r--r--spritecache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/spritecache.h b/spritecache.h
index 12e46d6ca..c5b50cb41 100644
--- a/spritecache.h
+++ b/spritecache.h
@@ -17,8 +17,8 @@ typedef struct {
} SpriteDimension;
const SpriteDimension *GetSpriteDimension(SpriteID sprite);
-Sprite *GetSprite(SpriteID sprite);
-byte *GetNonSprite(SpriteID sprite);
+const Sprite *GetSprite(SpriteID sprite);
+const byte *GetNonSprite(SpriteID sprite);
void GfxLoadSprites(void);
void IncreaseSpriteLRU(void);