From de40ab5e0a24de6139be41f58399b83545a0928d Mon Sep 17 00:00:00 2001 From: Strangerke Date: Sun, 7 Aug 2011 11:36:49 +0200 Subject: CGE: Remove JBW flag (useless) --- engines/cge/cge_main.cpp | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'engines/cge/cge_main.cpp') 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; -- cgit v1.2.3