summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2004-08-27 08:35:38 +0000
committerdominik <dominik@openttd.org>2004-08-27 08:35:38 +0000
commit7aafc75f186b2a2f35dfa4a27a26dfe41ebf54cc (patch)
treefc5c3d3b6c1bf641ad6228b2144b244b2d3836d1
parent48b1d70c89a15dbbb34b198251db7662c990dda1 (diff)
downloadopenttd-7aafc75f186b2a2f35dfa4a27a26dfe41ebf54cc.tar.xz
(svn r144) Whoops, wrong variable
-rw-r--r--spritecache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/spritecache.c b/spritecache.c
index 69f1b9564..f76d79314 100644
--- a/spritecache.c
+++ b/spritecache.c
@@ -662,7 +662,7 @@ static const char * const _cached_filenames[4] = {
"cached_sprites.xx3",
};
-#define OPENTTD_SPRITES_COUNT = 70
+#define OPENTTD_SPRITES_COUNT 70
static const uint16 _openttd_grf_indexes[] = {
SPR_OPENTTD_BASE+0, SPR_OPENTTD_BASE+7, // icons etc
98,98, // euro symbol medium size
@@ -672,7 +672,7 @@ static const uint16 _openttd_grf_indexes[] = {
616, 616, // nordic char: Æ
666, 666, // nordic char: Ø
634, 634, // nordic char: Ø
- SPR_OPENTTD_BASE+62, SPR_OPENTTD_BASE+SPR_OPENTTD_COUNT, // more icons
+ SPR_OPENTTD_BASE+62, SPR_OPENTTD_BASE + OPENTTD_SPRITES_COUNT, // more icons
0xffff,
};