aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/cge/cge.cpp1
-rw-r--r--engines/cge/cge.h1
-rw-r--r--engines/cge/cge_main.cpp18
3 files changed, 0 insertions, 20 deletions
diff --git a/engines/cge/cge.cpp b/engines/cge/cge.cpp
index 0d63b32d09..6fc23969c2 100644
--- a/engines/cge/cge.cpp
+++ b/engines/cge/cge.cpp
@@ -51,7 +51,6 @@ CGEEngine::CGEEngine(OSystem *syst, const ADGameDescription *gameDescription)
_startupMode = 1;
_demoText = kDemo;
_oldLev = 0;
- _jbw = false;
_pocPtr = 0;
}
diff --git a/engines/cge/cge.h b/engines/cge/cge.h
index 23509bbf49..d681eb43e3 100644
--- a/engines/cge/cge.h
+++ b/engines/cge/cge.h
@@ -111,7 +111,6 @@ public:
int _startupMode;
int _demoText;
int _oldLev;
- bool _jbw;
int _pocPtr;
bool _music;
int _pocref[kPocketNX];
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;