mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-06 10:17:14 +00:00
CGE2: Add work around for piram_/pirami issue
This commit is contained in:
parent
c394a68589
commit
73784c26b7
@ -156,6 +156,12 @@ BtKeypack *ResourceManager::find(const char *key) {
|
||||
if (scumm_stricmp((const char *)key, (const char *)pg->_leaf[i]._key) <= 0)
|
||||
break;
|
||||
}
|
||||
|
||||
// FIXME: Terrible hack to work around a mix between 24piram_ and 24pirami
|
||||
if (!strcmp(key, "24piram_.SPR") && (scumm_stricmp((const char *)key, (const char *)pg->_leaf[i]._key) < 0))
|
||||
++i;
|
||||
//
|
||||
|
||||
_buff[lev]._index = i;
|
||||
return &pg->_leaf[i];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user