diff options
Diffstat (limited to 'engines/gnap/scenes/group4.cpp')
-rw-r--r-- | engines/gnap/scenes/group4.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/engines/gnap/scenes/group4.cpp b/engines/gnap/scenes/group4.cpp index 7a5de8d37e..b12d2ad4a1 100644 --- a/engines/gnap/scenes/group4.cpp +++ b/engines/gnap/scenes/group4.cpp @@ -159,8 +159,8 @@ void Scene40::run() { updateAnimations(); _vm->checkGameKeys(); - if (_vm->isKeyStatus1(8)) { - _vm->clearKeyStatus1(8); + if (_vm->isKeyStatus1(Common::KEYCODE_BACKSPACE)) { + _vm->clearKeyStatus1(Common::KEYCODE_BACKSPACE); _vm->runMenu(); updateHotspots(); } @@ -549,8 +549,8 @@ void Scene41::run() { _vm->checkGameKeys(); - if (_vm->isKeyStatus1(8)) { - _vm->clearKeyStatus1(8); + if (_vm->isKeyStatus1(Common::KEYCODE_BACKSPACE)) { + _vm->clearKeyStatus1(Common::KEYCODE_BACKSPACE); _vm->runMenu(); updateHotspots(); _vm->_timers[4] = _vm->getRandom(100) + 100; @@ -1016,8 +1016,8 @@ void Scene42::run() { _vm->checkGameKeys(); - if (_vm->isKeyStatus1(8)) { - _vm->clearKeyStatus1(8); + if (_vm->isKeyStatus1(Common::KEYCODE_BACKSPACE)) { + _vm->clearKeyStatus1(Common::KEYCODE_BACKSPACE); _vm->runMenu(); updateHotspots(); _vm->_timers[4] = _vm->getRandom(20) + 30; @@ -1472,8 +1472,8 @@ void Scene43::run() { _vm->checkGameKeys(); - if (_vm->isKeyStatus1(8)) { - _vm->clearKeyStatus1(8); + if (_vm->isKeyStatus1(Common::KEYCODE_BACKSPACE)) { + _vm->clearKeyStatus1(Common::KEYCODE_BACKSPACE); _vm->runMenu(); updateHotspots(); _vm->_timers[4] = _vm->getRandom(100) + 100; @@ -1974,8 +1974,8 @@ void Scene44::run() { _vm->checkGameKeys(); - if (_vm->isKeyStatus1(8)) { - _vm->clearKeyStatus1(8); + if (_vm->isKeyStatus1(Common::KEYCODE_BACKSPACE)) { + _vm->clearKeyStatus1(Common::KEYCODE_BACKSPACE); _vm->runMenu(); updateHotspots(); _vm->_timers[4] = _vm->getRandom(20) + 20; @@ -2381,8 +2381,8 @@ void Scene45::run() { _vm->checkGameKeys(); - if (_vm->isKeyStatus1(8)) { - _vm->clearKeyStatus1(8); + if (_vm->isKeyStatus1(Common::KEYCODE_BACKSPACE)) { + _vm->clearKeyStatus1(Common::KEYCODE_BACKSPACE); _vm->runMenu(); updateHotspots(); } @@ -2731,8 +2731,8 @@ void Scene46::run() { _vm->checkGameKeys(); - if (_vm->isKeyStatus1(8)) { - _vm->clearKeyStatus1(8); + if (_vm->isKeyStatus1(Common::KEYCODE_BACKSPACE)) { + _vm->clearKeyStatus1(Common::KEYCODE_BACKSPACE); _vm->runMenu(); updateHotspots(); } |