aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/callables_ns.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2007-11-01 14:47:33 +0000
committerNicola Mettifogo2007-11-01 14:47:33 +0000
commit7c8bf86a45ec09275484813803df5370d7867d20 (patch)
tree7594ef0909788034a5c656609b3c39f28ec345e1 /engines/parallaction/callables_ns.cpp
parent288f47e0341bd80302ef5585f6ef0da67d2738f5 (diff)
downloadscummvm-rg350-7c8bf86a45ec09275484813803df5370d7867d20.tar.gz
scummvm-rg350-7c8bf86a45ec09275484813803df5370d7867d20.tar.bz2
scummvm-rg350-7c8bf86a45ec09275484813803df5370d7867d20.zip
More refactoring for gui code.
svn-id: r29355
Diffstat (limited to 'engines/parallaction/callables_ns.cpp')
-rw-r--r--engines/parallaction/callables_ns.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/parallaction/callables_ns.cpp b/engines/parallaction/callables_ns.cpp
index c2ace3e3f0..f35c986671 100644
--- a/engines/parallaction/callables_ns.cpp
+++ b/engines/parallaction/callables_ns.cpp
@@ -434,7 +434,8 @@ void Parallaction_ns::_c_finito(void *parm) {
_gfx->updateScreen();
waitUntilLeftClick();
- guiSelectCharacter();
+ selectCharacterForNewLocation();
+ _engineFlags |= kEngineChangeLocation;
}
// this code saves main character animation from being removed from the following code
@@ -547,7 +548,8 @@ void Parallaction_ns::_c_endIntro(void *parm) {
waitUntilLeftClick();
_engineFlags &= ~kEngineBlockInput;
- guiSelectCharacter();
+ selectCharacterForNewLocation();
+ _engineFlags |= kEngineChangeLocation;
} else {
waitUntilLeftClick();
}