aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/resource.cpp
diff options
context:
space:
mode:
authorFlorian Kagerer2008-08-02 23:11:31 +0000
committerFlorian Kagerer2008-08-02 23:11:31 +0000
commit4c74db446385611a158efcdab67a27107d8b20aa (patch)
tree53d89e48fc0c43451c27acd395849172a070cd8c /engines/kyra/resource.cpp
parentda2720d498c160c39435b42d9f1a18d2a0a328e1 (diff)
downloadscummvm-rg350-4c74db446385611a158efcdab67a27107d8b20aa.tar.gz
scummvm-rg350-4c74db446385611a158efcdab67a27107d8b20aa.tar.bz2
scummvm-rg350-4c74db446385611a158efcdab67a27107d8b20aa.zip
add non-interactive lol demo
svn-id: r33556
Diffstat (limited to 'engines/kyra/resource.cpp')
-rw-r--r--engines/kyra/resource.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/engines/kyra/resource.cpp b/engines/kyra/resource.cpp
index 92818aafe1..5d3c5ff715 100644
--- a/engines/kyra/resource.cpp
+++ b/engines/kyra/resource.cpp
@@ -55,12 +55,10 @@ bool Resource::reset() {
if (!dir.exists() || !dir.isDirectory())
error("invalid game path '%s'", dir.getPath().c_str());
- if (_vm->game() != GI_LOL) {
- if (!loadPakFile(StaticResource::staticDataFilename()) || !StaticResource::checkKyraDat()) {
- Common::String errorMessage = "You're missing the '" + StaticResource::staticDataFilename() + "' file or it got corrupted, (re)get it from the ScummVM website";
- _vm->GUIErrorMessage(errorMessage);
- error(errorMessage.c_str());
- }
+ if (!loadPakFile(StaticResource::staticDataFilename()) || !StaticResource::checkKyraDat()) {
+ Common::String errorMessage = "You're missing the '" + StaticResource::staticDataFilename() + "' file or it got corrupted, (re)get it from the ScummVM website";
+ _vm->GUIErrorMessage(errorMessage);
+ error(errorMessage.c_str());
}
if (_vm->game() == GI_KYRA1) {