aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2016-08-28 19:27:35 -0400
committerPaul Gilbert2016-08-28 19:27:35 -0400
commit31967588406d5405d33456b5125463432c3aec96 (patch)
tree5f5ba03aaf9268355e3c4bf533bf183e033ad467 /engines
parentf114f9e8c5c9e663ef1eea268dbc2d2287c6b646 (diff)
downloadscummvm-rg350-31967588406d5405d33456b5125463432c3aec96.tar.gz
scummvm-rg350-31967588406d5405d33456b5125463432c3aec96.tar.bz2
scummvm-rg350-31967588406d5405d33456b5125463432c3aec96.zip
TITANIC: Fix infinite loop in CToggleSwitch message handling
Diffstat (limited to 'engines')
-rw-r--r--engines/titanic/gfx/toggle_switch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/gfx/toggle_switch.cpp b/engines/titanic/gfx/toggle_switch.cpp
index 456ac79ff6..815f96cb5a 100644
--- a/engines/titanic/gfx/toggle_switch.cpp
+++ b/engines/titanic/gfx/toggle_switch.cpp
@@ -24,7 +24,7 @@
namespace Titanic {
-BEGIN_MESSAGE_MAP(CToggleSwitch, CToggleSwitch)
+BEGIN_MESSAGE_MAP(CToggleSwitch, CGameObject)
ON_MESSAGE(MouseButtonUpMsg)
ON_MESSAGE(ChildDragStartMsg)
ON_MESSAGE(ChildDragMoveMsg)