diff options
author | Darkvater <darkvater@openttd.org> | 2005-07-20 15:38:11 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2005-07-20 15:38:11 +0000 |
commit | 29b81f63fd26342b7ee89827597977bdd47e2426 (patch) | |
tree | 219f7a0b1449bfe8a80cafd1dc593aae28eb02fc | |
parent | 7da16dbf4b9fbb41f5aaad78162185dcc4a87b9c (diff) | |
download | openttd-29b81f63fd26342b7ee89827597977bdd47e2426.tar.xz |
(svn r2652) - CodeChange: show 'too many sprites' in hex value; Patch signed off by Tron
-rw-r--r-- | spritecache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spritecache.c b/spritecache.c index 34c4f3d67..f365d3b6b 100644 --- a/spritecache.c +++ b/spritecache.c @@ -348,7 +348,7 @@ static int LoadNewGrfFile(const char *filename, int load_index, int file_index) for (i = 0; LoadNextSprite(load_index + i, file_index); i++) { if (load_index + i >= NUM_SPRITES) - error("Too many sprites (%x). Recompile with higher NUM_SPRITES value or remove some custom GRF files.", + error("Too many sprites (0x%X). Recompile with higher NUM_SPRITES value or remove some custom GRF files.", load_index + i); } |