diff options
Diffstat (limited to 'simon')
-rw-r--r-- | simon/simon.cpp | 6 | ||||
-rw-r--r-- | simon/simon.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp index b24da6cb6f..5e39858db9 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -264,7 +264,6 @@ SimonEngine::SimonEngine(GameDetector *detector, OSystem *syst) _fast_mode = 0; _dx_use_3_or_4_for_lock = 0; - _mouse_pos_changed = 0; _debugMode = 0; _debugLevel = 0; _language = 0; @@ -4289,10 +4288,6 @@ void SimonEngine::dx_update_screen_and_palette() { } } - if (_mouse_pos_changed) { - _mouse_pos_changed = false; - _system->set_mouse_pos(_sdl_mouse_x, _sdl_mouse_y); - } _system->copy_rect(_sdl_buf_attached, 320, 0, 0, 320, 200); _system->update_screen(); @@ -4494,7 +4489,6 @@ void SimonEngine::delay(uint amount) { case OSystem::EVENT_MOUSEMOVE: _sdl_mouse_x = event.mouse.x; _sdl_mouse_y = event.mouse.y; - _mouse_pos_changed = true; break; case OSystem::EVENT_LBUTTONDOWN: diff --git a/simon/simon.h b/simon/simon.h index f032fdb3cd..d38ebc4eaf 100644 --- a/simon/simon.h +++ b/simon/simon.h @@ -179,7 +179,6 @@ protected: bool _fast_mode; bool _dx_use_3_or_4_for_lock; - bool _mouse_pos_changed; uint16 _debugMode; uint16 _language; bool _noSubtitles; |