aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Battaglia2009-03-03 21:33:45 +0000
committerFabio Battaglia2009-03-03 21:33:45 +0000
commit1956c1c68f4822943a48ae58fcfbdccb44055be4 (patch)
treebc35597cbf80881d144d04c2313d57d00fceee59
parent7fc8bb81a74f58d46b82b7d555ef3da4c0076ee9 (diff)
downloadscummvm-rg350-1956c1c68f4822943a48ae58fcfbdccb44055be4.tar.gz
scummvm-rg350-1956c1c68f4822943a48ae58fcfbdccb44055be4.tar.bz2
scummvm-rg350-1956c1c68f4822943a48ae58fcfbdccb44055be4.zip
Added missing checkCd() execution when loading through GMM
svn-id: r39096
-rw-r--r--engines/sword1/sword1.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sword1/sword1.cpp b/engines/sword1/sword1.cpp
index d42d90af70..1fb6a265aa 100644
--- a/engines/sword1/sword1.cpp
+++ b/engines/sword1/sword1.cpp
@@ -732,6 +732,7 @@ bool SwordEngine::mouseIsActive() {
// The following function is needed to restore proper status after GMM load game
void SwordEngine::reinitRes(void) {
+ checkCd(); // Reset currentCD var to correct value
_screen->newScreen(Logic::_scriptVars[NEW_SCREEN]);
_logic->newScreen(Logic::_scriptVars[NEW_SCREEN]);
_sound->newScreen(Logic::_scriptVars[NEW_SCREEN]);