aboutsummaryrefslogtreecommitdiff
path: root/sword2/controls.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-11-02 18:50:09 +0000
committerTorbjörn Andersson2003-11-02 18:50:09 +0000
commit7ec257ae3f48275a911bc503aa7ed4591b06ceac (patch)
treee24b09e4bbad9fb6a933d4f376d5c4815aa214ba /sword2/controls.cpp
parentc58b3819bb320bd3bd2fa023e6369fbbf0cae63b (diff)
downloadscummvm-rg350-7ec257ae3f48275a911bc503aa7ed4591b06ceac.tar.gz
scummvm-rg350-7ec257ae3f48275a911bc503aa7ed4591b06ceac.tar.bz2
scummvm-rg350-7ec257ae3f48275a911bc503aa7ed4591b06ceac.zip
Even more stuff moving into Sword2Engine. I'm tempted to make a new class
for the mouse stuff, but I need to think about that a bit more. I have a feeling the code could be cleaned up a bit anyway... svn-id: r11060
Diffstat (limited to 'sword2/controls.cpp')
-rw-r--r--sword2/controls.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sword2/controls.cpp b/sword2/controls.cpp
index 759745b7a3..3ac0455ea2 100644
--- a/sword2/controls.cpp
+++ b/sword2/controls.cpp
@@ -1293,7 +1293,7 @@ public:
// Reset the mouse hot-spot list (see
// fnRegisterMouse and fnRegisterFrame)
- Reset_mouse_list();
+ g_sword2->resetMouseList();
if (g_logic.processSession())
error("restore 1st cycle failed??");
@@ -1465,7 +1465,7 @@ void Gui::restartControl(void) {
// reset the mouse hot-spot list (see fnRegisterMouse and
// fnRegisterFrame)
- Reset_mouse_list();
+ g_sword2->resetMouseList();
g_display->closeMenuImmediately();