summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,
};