From 74ce7c620b2ced5d4a6fe1a541657567b2314513 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sat, 29 Sep 2007 05:46:57 +0000 Subject: Allow the user to change scalers, fullscreen mode, etc. without terminating the IHNM intro. In other words, don't terminate the intro just because the user presses a modifier key. The original didn't either. svn-id: r29127 --- engines/saga/ihnm_introproc.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'engines/saga') diff --git a/engines/saga/ihnm_introproc.cpp b/engines/saga/ihnm_introproc.cpp index fcf69d1bd1..1819dc71a7 100644 --- a/engines/saga/ihnm_introproc.cpp +++ b/engines/saga/ihnm_introproc.cpp @@ -141,10 +141,15 @@ bool Scene::checkKey() { while (_vm->_eventMan->pollEvent(event)) { switch (event.type) { case Common::EVENT_QUIT: + res = true; _vm->shutDown(); - // fallthrough + break; case Common::EVENT_KEYDOWN: - res = true; + // Don't react to modifier keys alone. The original did + // non, and the user may want to change scaler without + // terminating the intro. + if (event.kbd.ascii) + res = true; break; default: break; -- cgit v1.2.3