From c210f90a624549b905dce50be261cf54a3407ae5 Mon Sep 17 00:00:00 2001 From: Christopher Page Date: Sun, 13 Jul 2008 22:24:55 +0000 Subject: TOUCHE works with the new GMM implementation svn-id: r33046 --- engines/touche/opcodes.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/touche/opcodes.cpp') 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); -- cgit v1.2.3