diff options
-rw-r--r-- | engines/zvision/cursor_manager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/zvision/cursor_manager.cpp b/engines/zvision/cursor_manager.cpp index 698168b72a..361fe11714 100644 --- a/engines/zvision/cursor_manager.cpp +++ b/engines/zvision/cursor_manager.cpp @@ -65,6 +65,9 @@ void CursorManager::changeCursor(const Common::String &cursorName) { } void CursorManager::changeCursor(const Common::String &cursorName, bool pushed) { + if (_currentCursor.equals(cursorName) && _cursorIsPushed == pushed) + return; + if (_cursorIsPushed != pushed) _cursorIsPushed = pushed; |