From 3f67e45f243e3960c6fbac9e9db2395035e0a8e3 Mon Sep 17 00:00:00 2001 From: Alyssa Milburn Date: Tue, 19 Jul 2011 14:11:24 +0200 Subject: COMPOSER: Implement kFuncQuit. --- engines/composer/scripting.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/composer/scripting.cpp b/engines/composer/scripting.cpp index 5fa3d137b4..ff5391eceb 100644 --- a/engines/composer/scripting.cpp +++ b/engines/composer/scripting.cpp @@ -676,8 +676,8 @@ int16 ComposerEngine::scriptFuncCall(uint16 id, int16 param1, int16 param2, int1 removeSprite(param1, param2); return 0; case kFuncQuit: - // TODO - warning("ignoring kFuncQuit()"); + debug(3, "kFuncQuit()"); + quitGame(); return 0; case kFuncSaveData: // TODO -- cgit v1.2.3