aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/core
diff options
context:
space:
mode:
authorPaul Gilbert2016-10-25 23:10:46 -0400
committerPaul Gilbert2016-10-25 23:10:46 -0400
commit45d208b2ec058d2709c3a5da58abff41d08d782c (patch)
tree85262989cb76a9e78cf6156027f50a7ea799438d /engines/titanic/core
parenteb6fa08311d5b7b7dcdd6e8d0b14854fb097d97a (diff)
downloadscummvm-rg350-45d208b2ec058d2709c3a5da58abff41d08d782c.tar.gz
scummvm-rg350-45d208b2ec058d2709c3a5da58abff41d08d782c.tar.bz2
scummvm-rg350-45d208b2ec058d2709c3a5da58abff41d08d782c.zip
TITANIC: Further work on mouse cursor enablement logic
Diffstat (limited to 'engines/titanic/core')
-rw-r--r--engines/titanic/core/game_object.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/core/game_object.cpp b/engines/titanic/core/game_object.cpp
index 8f71b3d995..af1ec9ca6f 100644
--- a/engines/titanic/core/game_object.cpp
+++ b/engines/titanic/core/game_object.cpp
@@ -1142,11 +1142,11 @@ void CGameObject::lockMouse() {
}
void CGameObject::hideMouse() {
- CScreenManager::_screenManagerPtr->_mouseCursor->hide();
+ CScreenManager::_screenManagerPtr->_mouseCursor->incHideCounter();
}
void CGameObject::showMouse() {
- CScreenManager::_screenManagerPtr->_mouseCursor->show();
+ CScreenManager::_screenManagerPtr->_mouseCursor->decHideCounter();
}
void CGameObject::disableMouse() {