Skip to content

Commit

Permalink
TITANIC: Fix crash after dragging sound sliders
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Aug 14, 2017
1 parent a8e400e commit 664126a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engines/titanic/pet_control/pet_sound.cpp
Expand Up @@ -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) {
Expand Down

0 comments on commit 664126a

Please sign in to comment.