diff options
author | Paul Gilbert | 2017-08-13 21:35:22 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-08-13 21:35:22 -0400 |
commit | 664126aaaaf71afd87ee13b7e8f097e920b4b20d (patch) | |
tree | 86cf23a375bc7896ca040d3e1e1fe9f2205784c9 /engines | |
parent | a8e400ef711bf7756ae93dd10d4a2224e3527b3c (diff) | |
download | scummvm-rg350-664126aaaaf71afd87ee13b7e8f097e920b4b20d.tar.gz scummvm-rg350-664126aaaaf71afd87ee13b7e8f097e920b4b20d.tar.bz2 scummvm-rg350-664126aaaaf71afd87ee13b7e8f097e920b4b20d.zip |
TITANIC: Fix crash after dragging sound sliders
Diffstat (limited to 'engines')
-rw-r--r-- | engines/titanic/pet_control/pet_sound.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/pet_control/pet_sound.cpp b/engines/titanic/pet_control/pet_sound.cpp index f4fd821187..1ba557ab14 100644 --- a/engines/titanic/pet_control/pet_sound.cpp +++ b/engines/titanic/pet_control/pet_sound.cpp @@ -244,10 +244,10 @@ bool CPetSound::MouseDragEndMsg(CMouseDragEndMsg *msg) { if (!_draggingSlider) return false; - _draggingSlider->MouseDragEndMsg(msg->_mousePos); + bool result = _draggingSlider->MouseDragEndMsg(msg->_mousePos); getOwner()->endDragging(); - return false; + return result; } bool CPetSound::MouseButtonUpMsg(const Point &pt) { |