aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/cge_main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cge/cge_main.cpp')
-rw-r--r--engines/cge/cge_main.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/engines/cge/cge_main.cpp b/engines/cge/cge_main.cpp
index d709b65c1d..6fed0b73ce 100644
--- a/engines/cge/cge_main.cpp
+++ b/engines/cge/cge_main.cpp
@@ -724,19 +724,15 @@ void System::funTouch() {
}
void System::touch(uint16 mask, int x, int y) {
- static int pp = 0;
-
funTouch();
if (mask & kEventKeyb) {
- int pp0;
_vm->keyClick();
killText();
if (_vm->_startupMode == 1) {
_snail->addCom(kSnClear, -1, 0, NULL);
return;
}
- pp0 = pp;
switch (x) {
case Del:
if (_keyboard->_key[kKeyAlt] && _keyboard->_key[kKeyCtrl])
@@ -817,21 +813,7 @@ void System::touch(uint16 mask, int x, int y) {
if (_snail->idle() && !_hero->_flags._hide)
_vm->startCountDown();
break;
- case 'J':
- if (pp == 0)
- pp++;
- break;
- case 'B':
- if (pp == 1)
- pp++;
- break;
- case 'W':
- if (pp == 2)
- _vm->_jbw = !_vm->_jbw;
- break;
}
- if (pp == pp0)
- pp = 0;
} else {
if (_vm->_startupMode)
return;