aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/gfx
diff options
context:
space:
mode:
authorPaul Gilbert2017-02-16 21:34:59 -0500
committerPaul Gilbert2017-02-16 21:34:59 -0500
commitd56e4e4584ccb7d0741118da0ffb61129c767bee (patch)
tree54649ffafe2f7e60ea65d59590b2c45aca73a4c4 /engines/titanic/gfx
parent216e57aff49b43446699f236f47f67df2c95d0f1 (diff)
downloadscummvm-rg350-d56e4e4584ccb7d0741118da0ffb61129c767bee.tar.gz
scummvm-rg350-d56e4e4584ccb7d0741118da0ffb61129c767bee.tar.bz2
scummvm-rg350-d56e4e4584ccb7d0741118da0ffb61129c767bee.zip
TITANIC: Further renamings for CGameObject
Diffstat (limited to 'engines/titanic/gfx')
-rw-r--r--engines/titanic/gfx/toggle_switch.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/gfx/toggle_switch.cpp b/engines/titanic/gfx/toggle_switch.cpp
index 815f96cb5a..dae9acba0e 100644
--- a/engines/titanic/gfx/toggle_switch.cpp
+++ b/engines/titanic/gfx/toggle_switch.cpp
@@ -52,9 +52,9 @@ void CToggleSwitch::load(SimpleFile *file) {
bool CToggleSwitch::MouseButtonUpMsg(CMouseButtonUpMsg *msg) {
_pressed = !_pressed;
if (_pressed)
- fn10(0, 0, 0);
+ setToggleColor(0, 0, 0);
else
- fn10(0xff, 0xff, 0xff);
+ setToggleColor(0xff, 0xff, 0xff);
return true;
}