aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/supernova/supernova.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/engines/supernova/supernova.cpp b/engines/supernova/supernova.cpp
index faff7bc44f..c79748d083 100644
--- a/engines/supernova/supernova.cpp
+++ b/engines/supernova/supernova.cpp
@@ -190,11 +190,10 @@ void SupernovaEngine::updateEvents() {
(_event.kbd.flags & Common::KBD_CTRL)) {
_console->attach();
}
- if (_event.kbd.keycode == Common::KEYCODE_s) {
- for (int i = 0; i < _currentImage->_numSections; ++i) {
- _gm->drawImage(i);
- _system->updateScreen();
- }
+ if (_event.kbd.keycode == Common::KEYCODE_x &&
+ (_event.kbd.flags & Common::KBD_CTRL)) {
+ // TODO: Draw exit box
+ _gameRunning = false;
}
_gm->processInput(_event.kbd);