aboutsummaryrefslogtreecommitdiff
path: root/engines/touche/opcodes.cpp
diff options
context:
space:
mode:
authorChristopher Page2008-07-13 22:24:55 +0000
committerChristopher Page2008-07-13 22:24:55 +0000
commitc210f90a624549b905dce50be261cf54a3407ae5 (patch)
tree952689f766072c88d82cff8601d8d1843a185fee /engines/touche/opcodes.cpp
parent0175425109624a6dfc87bcfa1f26abfed839a1e3 (diff)
downloadscummvm-rg350-c210f90a624549b905dce50be261cf54a3407ae5.tar.gz
scummvm-rg350-c210f90a624549b905dce50be261cf54a3407ae5.tar.bz2
scummvm-rg350-c210f90a624549b905dce50be261cf54a3407ae5.zip
TOUCHE works with the new GMM implementation
svn-id: r33046
Diffstat (limited to 'engines/touche/opcodes.cpp')
-rw-r--r--engines/touche/opcodes.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/touche/opcodes.cpp b/engines/touche/opcodes.cpp
index 558c5b2c60..b2b16eb29d 100644
--- a/engines/touche/opcodes.cpp
+++ b/engines/touche/opcodes.cpp
@@ -409,7 +409,8 @@ void ToucheEngine::op_setFlag() {
_currentKeyCharNum = val;
break;
case 611:
- _quit = val != 0;
+ if (val != 0)
+ quitGame();
break;
case 612:
_flagsTable[613] = getRandomNumber(val);