aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2/resman.cpp
diff options
context:
space:
mode:
authorMax Horn2008-09-01 20:21:53 +0000
committerMax Horn2008-09-01 20:21:53 +0000
commit7002aa8981187dfde3a8849ebf4b8f5df498236f (patch)
treec2cbc077d176893c3ff88f6ec096de20578964aa /engines/sword2/resman.cpp
parentf2b26c5615dd743ea99568920428a0a562bc94d3 (diff)
parent852bc9dbb750b9995d31e70f4158c97d3758c46f (diff)
downloadscummvm-rg350-7002aa8981187dfde3a8849ebf4b8f5df498236f.tar.gz
scummvm-rg350-7002aa8981187dfde3a8849ebf4b8f5df498236f.tar.bz2
scummvm-rg350-7002aa8981187dfde3a8849ebf4b8f5df498236f.zip
Merging more of the GSoC 2008 RTL branch: SWORD2
svn-id: r34256
Diffstat (limited to 'engines/sword2/resman.cpp')
-rw-r--r--engines/sword2/resman.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword2/resman.cpp b/engines/sword2/resman.cpp
index 8cddddff78..880234aab0 100644
--- a/engines/sword2/resman.cpp
+++ b/engines/sword2/resman.cpp
@@ -412,7 +412,7 @@ Common::File *ResourceManager::openCluFile(uint16 fileNum) {
// quit while the game is asking for the user to insert a CD.
// But recovering from this situation gracefully is just too
// much trouble, so quit now.
- if (_vm->_quit)
+ if (_vm->quit())
g_system->quit();
// If the file is supposed to be on hard disk, or we're