mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-18 07:53:12 +00:00
Changed KyraEngine_v1::setupSceneResource to use Resource::exists instead of Common::File::exists.
svn-id: r31575
This commit is contained in:
parent
a922069eae
commit
ceb46a38cd
@ -1266,17 +1266,17 @@ void KyraEngine_v1::setupSceneResource(int sceneId) {
|
||||
char file[64];
|
||||
strcpy(file, _roomFilenameTable[tableId]);
|
||||
strcat(file, ".VRM");
|
||||
if (Common::File::exists(file))
|
||||
if (_res->exists(file))
|
||||
_res->loadPakFile(file);
|
||||
|
||||
strcpy(file, _roomFilenameTable[tableId]);
|
||||
strcat(file, ".PAK");
|
||||
if (Common::File::exists(file))
|
||||
if (_res->exists(file))
|
||||
_res->loadPakFile(file);
|
||||
|
||||
strcpy(file, _roomFilenameTable[tableId]);
|
||||
strcat(file, ".APK");
|
||||
if (Common::File::exists(file))
|
||||
if (_res->exists(file))
|
||||
_res->loadPakFile(file);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user