aboutsummaryrefslogtreecommitdiff
path: root/engines/cge
diff options
context:
space:
mode:
authorStrangerke2011-11-30 21:21:34 +0100
committerStrangerke2011-11-30 21:21:34 +0100
commit22263bd763c5d31c562bf0da8986e057103dd3fe (patch)
tree9ed31cf47bac6f093a5a2d14d2a831458c5f9731 /engines/cge
parenta12ba5f6a6fc29107b5b785203af71caa014a0da (diff)
downloadscummvm-rg350-22263bd763c5d31c562bf0da8986e057103dd3fe.tar.gz
scummvm-rg350-22263bd763c5d31c562bf0da8986e057103dd3fe.tar.bz2
scummvm-rg350-22263bd763c5d31c562bf0da8986e057103dd3fe.zip
CGE: Only skips animations when pressing ESC.
This should allow tsoliman to see the end of the intro
Diffstat (limited to 'engines/cge')
-rw-r--r--engines/cge/cge_main.cpp14
1 files changed, 8 insertions, 6 deletions
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)