aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2008-12-22 14:30:00 +0000
committerFilippos Karapetis2008-12-22 14:30:00 +0000
commit38f7fa6f4a3da11ec4b824baebeb779a29bc2745 (patch)
tree8e37905abc277d23d01f615dc7f147b490782830
parent77ad9f76e5529e77a4c6bb8f27a9d00dbe544bf4 (diff)
downloadscummvm-rg350-38f7fa6f4a3da11ec4b824baebeb779a29bc2745.tar.gz
scummvm-rg350-38f7fa6f4a3da11ec4b824baebeb779a29bc2745.tar.bz2
scummvm-rg350-38f7fa6f4a3da11ec4b824baebeb779a29bc2745.zip
Added game ID checks for the ITE puzzle in some places that I've missed
svn-id: r35486
-rw-r--r--engines/saga/interface.cpp6
1 files changed, 3 insertions, 3 deletions
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;