diff options
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | engines/scumm/verbs.cpp | 5 |
2 files changed, 6 insertions, 0 deletions
@@ -30,6 +30,7 @@ For a more comprehensive changelog for the latest experimental SVN code, see: - Fixed graphical glitches in HE80 version of Putt-Putt Travels Through Time. - Fixed FM-TOWNS version of Indy3 failing on Amiga port. + - Fixed crash in MM NES when clicking on top screen area Simon: - Improved support for international versions of the Feeble Files. diff --git a/engines/scumm/verbs.cpp b/engines/scumm/verbs.cpp index c9a3ecc253..14f72de6c0 100644 --- a/engines/scumm/verbs.cpp +++ b/engines/scumm/verbs.cpp @@ -518,6 +518,11 @@ void ScummEngine::checkExecVerbs() { byte code = _mouseAndKeyboardStat & MBS_LEFT_CLICK ? 1 : 2; int inventoryArea = (_game.platform == Common::kPlatformNES) ? 48: 32; + // This could be kUnkVirtScreen. + // Fixes bug #1536932: "MANIACNES: Crash on click in speechtext-area + if (!zone) + return; + if (_game.version <= 2 && zone->number == kVerbVirtScreen && _mouse.y <= zone->topline + 8) { // Click into V2 sentence line runInputScript(5, 0, 0); |