aboutsummaryrefslogtreecommitdiff
path: root/engines/agos
diff options
context:
space:
mode:
authorTravis Howell2009-02-27 22:10:25 +0000
committerTravis Howell2009-02-27 22:10:25 +0000
commit59744522919d58de828754f92aebca11de0f0c55 (patch)
treee2b61ea795c7bf97962294859d3caf359e5093db /engines/agos
parentfb8fafaf560b5546858312cd4f552d04b149ab5a (diff)
downloadscummvm-rg350-59744522919d58de828754f92aebca11de0f0c55.tar.gz
scummvm-rg350-59744522919d58de828754f92aebca11de0f0c55.tar.bz2
scummvm-rg350-59744522919d58de828754f92aebca11de0f0c55.zip
Fix bug #2642654 - SIMON2: Cannot load savegame, also in CD DOS?.
svn-id: r38935
Diffstat (limited to 'engines/agos')
-rw-r--r--engines/agos/subroutine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/agos/subroutine.cpp b/engines/agos/subroutine.cpp
index 3ff34cdc6f..26dfde8403 100644
--- a/engines/agos/subroutine.cpp
+++ b/engines/agos/subroutine.cpp
@@ -540,9 +540,9 @@ int AGOSEngine::startSubroutine(Subroutine *sub) {
// WORKAROUND: If the game is saved, right after Simon is thrown in the dungeon of Sordid's Fortress of Doom,
// the saved game fails to load correctly. When loading the saved game, the sequence of Simon waking is started,
- // before the scene is actually reloaded, due to a script bug. We manually add the extra script code from DOS CD
- // release, which fixed this particular script bug.
- if (getGameType() == GType_SIMON2 && !(getFeatures() & GF_TALKIE) && sub->id == 12101) {
+ // before the scene is actually reloaded, due to a script bug. We manually add the extra script code from the
+ // updated DOS CD release, which fixed this particular script bug.
+ if (getGameType() == GType_SIMON2 && sub->id == 12101) {
const byte bit = 228;
if ((_bitArrayTwo[bit / 16] & (1 << (bit & 15))) != 0 && (int)readVariable(34) == -1) {
_bitArrayTwo[228 / 16] &= ~(1 << (bit & 15));