mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-02 00:42:24 +00:00
It was pointed out to me that we can't use the DEMO variable here, because
the missing file may be the one with the resource for the global variables. svn-id: r12112
This commit is contained in:
parent
069c21310f
commit
fa523f7f7e
@ -431,7 +431,7 @@ uint8 *ResourceManager::openResource(uint32 res, bool dump) {
|
||||
// playing a demo, then we're in trouble if the file
|
||||
// can't be found!
|
||||
|
||||
if (DEMO || (_cdTab[parent_res_file] & LOCAL_PERM))
|
||||
if ((_vm->_features & GF_DEMO) || (_cdTab[parent_res_file] & LOCAL_PERM))
|
||||
error("Could not find '%s'", _resourceFiles[parent_res_file]);
|
||||
|
||||
getCd(_cdTab[parent_res_file] & 3);
|
||||
|
Loading…
x
Reference in New Issue
Block a user