From 38f7fa6f4a3da11ec4b824baebeb779a29bc2745 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 22 Dec 2008 14:30:00 +0000 Subject: Added game ID checks for the ITE puzzle in some places that I've missed svn-id: r35486 --- engines/saga/interface.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engines') diff --git a/engines/saga/interface.cpp b/engines/saga/interface.cpp index 8418a8656b..76e7374091 100644 --- a/engines/saga/interface.cpp +++ b/engines/saga/interface.cpp @@ -654,7 +654,7 @@ bool Interface::processAscii(Common::KeyState keystate) { switch (ascii) { case 'x': setMode(kPanelMain); - if (_vm->_puzzle->isActive()) + if (_vm->getGameId() == GID_ITE && _vm->_puzzle->isActive()) _vm->_puzzle->exitPuzzle(); break; @@ -1743,7 +1743,7 @@ void Interface::update(const Point& mousePoint, int updateFlag) { converseChangePos(1); } - if (_vm->_puzzle->isActive()) { + if (_vm->getGameId() == GID_ITE && _vm->_puzzle->isActive()) { _vm->_puzzle->handleClick(mousePoint); } } @@ -2624,7 +2624,7 @@ void Interface::converseSetPos(int key) { _vm->_script->finishDialog(ct->strId, ct->replyId, ct->replyFlags, ct->replyBit); - if (_vm->_puzzle->isActive()) + if (_vm->getGameId() == GID_ITE && _vm->_puzzle->isActive()) _vm->_puzzle->handleReply(ct->replyId); _conversePos = -1; -- cgit v1.2.3