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
This commit is contained in:
Filippos Karapetis 2012-09-28 01:40:43 +03:00
parent 41d337c549
commit 864b4acdf1

View File

@ -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");