aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2012-09-28 01:40:43 +0300
committerFilippos Karapetis2012-09-28 01:40:43 +0300
commit864b4acdf180dfc3025f30dcf7c11011239511ec (patch)
tree81313a7b8be44bc640110d3cbf2b2ddb2a10bcd5 /engines
parent41d337c5494caa2521077adc033fb19cd76773e8 (diff)
downloadscummvm-rg350-864b4acdf180dfc3025f30dcf7c11011239511ec.tar.gz
scummvm-rg350-864b4acdf180dfc3025f30dcf7c11011239511ec.tar.bz2
scummvm-rg350-864b4acdf180dfc3025f30dcf7c11011239511ec.zip
PARALLACTION: Fix a script bug in the end of the multilingual DOS version of NS
The mouse cursor is incorrectly hidden outside the final cave in NS because of a script bug. A workaround is added to fix that screen and the final screen in order to make it playable. Part of fixes for bug #5866
Diffstat (limited to 'engines')
-rw-r--r--engines/parallaction/parallaction_ns.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/parallaction/parallaction_ns.cpp b/engines/parallaction/parallaction_ns.cpp
index 2a22e77410..1226fd1246 100644
--- a/engines/parallaction/parallaction_ns.cpp
+++ b/engines/parallaction/parallaction_ns.cpp
@@ -412,6 +412,11 @@ void Parallaction_ns::changeLocation() {
if (!_intro) {
_input->setMouseState(oldMouseState);
+ // WORKAROUND: Fix a script bug in the Multilingual DOS version of
+ // Nippon Safes: the mouse cursor is incorrectly hidden outside the
+ // cave at the end of the game. Fix it here.
+ if (!strcmp(_location._name, "ingressocav"))
+ _input->setMouseState(MOUSE_ENABLED_SHOW);
}
debugC(1, kDebugExec, "changeLocation() done");