diff options
-rw-r--r-- | engines/agos/cursor.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/engines/agos/cursor.cpp b/engines/agos/cursor.cpp index c2fd9a214f..efed42202b 100644 --- a/engines/agos/cursor.cpp +++ b/engines/agos/cursor.cpp @@ -309,21 +309,8 @@ void AGOSEngine::handleMouseMoved() { } CursorMan.showMouse(true); - _mouse = _system->getEventManager()->getMousePos(); - // Clip the mouse to the screen - // TODO this should not be necessary - if (_mouse.x <= 0) - _mouse.x = 0; - if (_mouse.x >= _screenWidth - 1) - _mouse.x = _screenWidth - 1; - - if (_mouse.y <= 0) - _mouse.y = 0; - if (_mouse.y >= _screenHeight - 1) - _mouse.y = _screenHeight - 1; - if (_defaultVerb) { uint id = 101; if (_mouse.y >= 136) |