diff options
author | sylvaintv | 2011-03-06 17:52:39 +0100 |
---|---|---|
committer | sylvaintv | 2011-03-06 17:52:39 +0100 |
commit | bc73a6bd76140e4ff83d83388a60c4411b69476d (patch) | |
tree | cc4ac006f63272d06f8144df26b6024dc83620be | |
parent | 6873e9673213516539acca37c08b1d6c0bfaa350 (diff) | |
download | scummvm-rg350-bc73a6bd76140e4ff83d83388a60c4411b69476d.tar.gz scummvm-rg350-bc73a6bd76140e4ff83d83388a60c4411b69476d.tar.bz2 scummvm-rg350-bc73a6bd76140e4ff83d83388a60c4411b69476d.zip |
TOON: Fix global package loading
-rw-r--r-- | engines/toon/toon.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/toon/toon.cpp b/engines/toon/toon.cpp index d65230df85..a6cb8a7dfa 100644 --- a/engines/toon/toon.cpp +++ b/engines/toon/toon.cpp @@ -106,9 +106,9 @@ void ToonEngine::init() { _pathFinding = new PathFinding(this); - resources()->openPackage("LOCAL.PAK", true); - resources()->openPackage("ONETIME.PAK", true); - resources()->openPackage("DREW.PAK", true); + resources()->openPackage("LOCAL.PAK"); + resources()->openPackage("ONETIME.PAK"); + resources()->openPackage("DREW.PAK"); for (int32 i = 0; i < 32; i++) _characters[i] = NULL; @@ -1080,7 +1080,7 @@ void ToonEngine::loadScene(int32 SceneId, bool forGameLoad) { // load package strcpy(temp, createRoomFilename(Common::String::format("%s.PAK", _gameState->_locations[_gameState->_currentScene]._name).c_str()).c_str()); - resources()->openPackage(temp, true); + resources()->openPackage(temp); strcpy(temp, state()->_locations[SceneId]._name); strcat(temp, ".NPP"); |