aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra
diff options
context:
space:
mode:
authorJohannes Schickel2008-04-19 14:44:06 +0000
committerJohannes Schickel2008-04-19 14:44:06 +0000
commitceb46a38cd18f05b6795bdfc250bdbe1ea4fe18a (patch)
tree9593d595f9c97d59479bc08f11d70bc5e0d755b6 /engines/kyra
parenta922069eaeee3b963813840eebbe261ee6e2a06c (diff)
downloadscummvm-rg350-ceb46a38cd18f05b6795bdfc250bdbe1ea4fe18a.tar.gz
scummvm-rg350-ceb46a38cd18f05b6795bdfc250bdbe1ea4fe18a.tar.bz2
scummvm-rg350-ceb46a38cd18f05b6795bdfc250bdbe1ea4fe18a.zip
Changed KyraEngine_v1::setupSceneResource to use Resource::exists instead of Common::File::exists.
svn-id: r31575
Diffstat (limited to 'engines/kyra')
-rw-r--r--engines/kyra/scene_v1.cpp6
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);
}