mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +00:00
(svn r2652) - CodeChange: show 'too many sprites' in hex value; Patch signed off by Tron
This commit is contained in:
parent
7da16dbf4b
commit
29b81f63fd
@ -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++) {
|
for (i = 0; LoadNextSprite(load_index + i, file_index); i++) {
|
||||||
if (load_index + i >= NUM_SPRITES)
|
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);
|
load_index + i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user