diff options
author | peter1138 <peter1138@openttd.org> | 2006-04-16 11:26:23 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2006-04-16 11:26:23 +0000 |
commit | 4db1144b6d71aaf511a78b45c1536ca90d629f4f (patch) | |
tree | 72812e5738fce554ec0583b1c1cde2685dbabeef /spritecache.h | |
parent | 60d123c0fa896e8367065844364102557103baf6 (diff) | |
download | openttd-4db1144b6d71aaf511a78b45c1536ca90d629f4f.tar.xz |
(svn r4446) - Add function to determine if a Sprite ID exists.
Diffstat (limited to 'spritecache.h')
-rw-r--r-- | spritecache.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spritecache.h b/spritecache.h index 93df8c106..3a5676a63 100644 --- a/spritecache.h +++ b/spritecache.h @@ -13,6 +13,7 @@ typedef struct Sprite { } Sprite; const void *GetRawSprite(SpriteID sprite); +bool SpriteExists(SpriteID sprite); static inline const Sprite *GetSprite(SpriteID sprite) { |