From 22263bd763c5d31c562bf0da8986e057103dd3fe Mon Sep 17 00:00:00 2001 From: Strangerke Date: Wed, 30 Nov 2011 21:21:34 +0100 Subject: CGE: Only skips animations when pressing ESC. This should allow tsoliman to see the end of the intro --- engines/cge/cge_main.cpp | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'engines/cge') diff --git a/engines/cge/cge_main.cpp b/engines/cge/cge_main.cpp index 5af52cd1de..c67356e545 100644 --- a/engines/cge/cge_main.cpp +++ b/engines/cge/cge_main.cpp @@ -757,12 +757,14 @@ void System::touch(uint16 mask, int x, int y) { funTouch(); if (mask & kEventKeyb) { - // The original was calling keyClick() - // The sound is uselessly annoying and noisy, so it has been removed - _vm->killText(); - if (_vm->_startupMode == 1) { - _vm->_commandHandler->addCommand(kCmdClear, -1, 0, NULL); - return; + if (x == Common::KEYCODE_ESCAPE) { + // The original was calling keyClick() + // The sound is uselessly annoying and noisy, so it has been removed + _vm->killText(); + if (_vm->_startupMode == 1) { + _vm->_commandHandler->addCommand(kCmdClear, -1, 0, NULL); + return; + } } } else { if (_vm->_startupMode) -- cgit v1.2.3