diff options
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/scene_v1.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/kyra/scene_v1.cpp b/engines/kyra/scene_v1.cpp index d79f280622..c531ac11e5 100644 --- a/engines/kyra/scene_v1.cpp +++ b/engines/kyra/scene_v1.cpp @@ -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); } |