[Scummvm-git-logs] scummvm master -> 61fe1a06adf3c8ab440d76775ab73e07144c28ab

dreammaster dreammaster at scummvm.org
Sun Feb 19 14:52:26 CET 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:
61fe1a06ad TITANIC: Fix Arm placement when placed on gondolier sliders


Commit: 61fe1a06adf3c8ab440d76775ab73e07144c28ab
    https://github.com/scummvm/scummvm/commit/61fe1a06adf3c8ab440d76775ab73e07144c28ab
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-02-19T08:52:22-05:00

Commit Message:
TITANIC: Fix Arm placement when placed on gondolier sliders

Changed paths:
    engines/titanic/carry/arm.cpp
    engines/titanic/support/files_manager.cpp


diff --git a/engines/titanic/carry/arm.cpp b/engines/titanic/carry/arm.cpp
index 129704c..23b0710 100644
--- a/engines/titanic/carry/arm.cpp
+++ b/engines/titanic/carry/arm.cpp
@@ -87,7 +87,7 @@ bool CArm::PuzzleSolvedMsg(CPuzzleSolvedMsg *msg) {
 }
 
 bool CArm::TranslateObjectMsg(CTranslateObjectMsg *msg) {
-	Point newPos(_bounds.left - msg->_delta.x, _bounds.top - msg->_delta.y);
+	Point newPos(_bounds.left + msg->_delta.x, _bounds.top + msg->_delta.y);
 	setPosition(newPos);
 	return true;
 }
diff --git a/engines/titanic/support/files_manager.cpp b/engines/titanic/support/files_manager.cpp
index fc09c57..cf70697 100644
--- a/engines/titanic/support/files_manager.cpp
+++ b/engines/titanic/support/files_manager.cpp
@@ -106,7 +106,7 @@ void CFilesManager::loadDrive() {
 }
 
 void CFilesManager::insertCD(CScreenManager *screenManager) {
-	// We not support running game directly from the original CDs,
+	// We don't support running the game directly from the original CDs,
 	// so this method can remain stubbed
 }
 





More information about the Scummvm-git-logs mailing list