diff options
author | Gregory Montoir | 2008-06-26 07:13:05 +0000 |
---|---|---|
committer | Gregory Montoir | 2008-06-26 07:13:05 +0000 |
commit | c9a8fb25f3ce5c1e69c1cb16a788167a648d68ea (patch) | |
tree | 0b95b3a7be2e2d6ac6be51bbbc21e894cb16e160 | |
parent | 102d79440d2847803c43187aebe4ff4ca4254cbe (diff) | |
download | scummvm-rg350-c9a8fb25f3ce5c1e69c1cb16a788167a648d68ea.tar.gz scummvm-rg350-c9a8fb25f3ce5c1e69c1cb16a788167a648d68ea.tar.bz2 scummvm-rg350-c9a8fb25f3ce5c1e69c1cb16a788167a648d68ea.zip |
flag 611 can be set from the scripts, set _quit when that happens.
svn-id: r32796
-rw-r--r-- | engines/touche/opcodes.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/touche/opcodes.cpp b/engines/touche/opcodes.cpp index 4405c614ac..558c5b2c60 100644 --- a/engines/touche/opcodes.cpp +++ b/engines/touche/opcodes.cpp @@ -408,6 +408,9 @@ void ToucheEngine::op_setFlag() { case 104: _currentKeyCharNum = val; break; + case 611: + _quit = val != 0; + break; case 612: _flagsTable[613] = getRandomNumber(val); break; |