diff options
-rw-r--r-- | engines/hdb/input.cpp | 6 | ||||
-rw-r--r-- | engines/hdb/input.h | 1 |
2 files changed, 1 insertions, 6 deletions
diff --git a/engines/hdb/input.cpp b/engines/hdb/input.cpp index 41dbc9d8cb..0819410932 100644 --- a/engines/hdb/input.cpp +++ b/engines/hdb/input.cpp @@ -31,8 +31,6 @@ bool Input::init() { _mouseX = kScreenWidth / 2; _mouseY = kScreenHeight / 2; - _lastMouseX = _mouseX; - _lastMouseY = _mouseY; return true; } @@ -153,8 +151,6 @@ void Input::stylusMove(int x, int y) { } void Input::updateMouse(int newX, int newY) { - _lastMouseX = _mouseX; - _lastMouseY = _mouseY; _mouseX = newX; _mouseY = newY; @@ -169,7 +165,7 @@ void Input::updateMouse(int newX, int newY) { _mouseY = kScreenHeight - 1; // Turn Cursor back on? - if ((_lastMouseX != _mouseX || _lastMouseY != _mouseY) && !g_hdb->_drawMan->getPointer()) { + if (!g_hdb->_drawMan->getPointer()) { g_hdb->_drawMan->showPointer(true); } diff --git a/engines/hdb/input.h b/engines/hdb/input.h index 211d9d4cb9..e585d0a56f 100644 --- a/engines/hdb/input.h +++ b/engines/hdb/input.h @@ -68,7 +68,6 @@ private: bool _stylusDown; int _stylusDownX, _stylusDownY; int _mouseX, _mouseY; - int _lastMouseX, _lastMouseY; // Definable Keys int _keyUp, _keyDown, _keyLeft, _keyRight; |