mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-19 15:25:39 +00:00
(svn r2652) - CodeChange: show 'too many sprites' in hex value; Patch signed off by Tron
This commit is contained in:
parent
c1f63a289a
commit
b8f1bbbad1
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user