forked from mirror/OpenTTD
Add: show fallback sprites with debuglevel sprite=4
This commit is contained in:
committed by
rubidium42
parent
55c07eed59
commit
5b0cfc7ea5
@@ -213,6 +213,7 @@ static void LoadSpriteTables()
|
||||
LoadNewGRF(SPR_NEWGRFS_BASE, 2);
|
||||
|
||||
uint total_extra_graphics = SPR_NEWGRFS_BASE - SPR_OPENTTD_BASE;
|
||||
Debug(sprite, 4, "Checking sprites from fallback grf");
|
||||
_missing_extra_graphics = GetSpriteCountForFile(master_filename, SPR_OPENTTD_BASE, SPR_NEWGRFS_BASE);
|
||||
Debug(sprite, 1, "{} extra sprites, {} from baseset, {} from fallback", total_extra_graphics, total_extra_graphics - _missing_extra_graphics, _missing_extra_graphics);
|
||||
|
||||
|
Reference in New Issue
Block a user