[Scummvm-git-logs] scummvm master -> 664126aaaaf71afd87ee13b7e8f097e920b4b20d

dreammaster dreammaster at scummvm.org
Mon Aug 14 03:35:27 CEST 2017


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
664126aaaa TITANIC: Fix crash after dragging sound sliders


Commit: 664126aaaaf71afd87ee13b7e8f097e920b4b20d
    https://github.com/scummvm/scummvm/commit/664126aaaaf71afd87ee13b7e8f097e920b4b20d
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-08-13T21:35:22-04:00

Commit Message:
TITANIC: Fix crash after dragging sound sliders

Changed paths:
    engines/titanic/pet_control/pet_sound.cpp


diff --git a/engines/titanic/pet_control/pet_sound.cpp b/engines/titanic/pet_control/pet_sound.cpp
index f4fd821..1ba557a 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) {





More information about the Scummvm-git-logs mailing list