[Scummvm-git-logs] scummvm master -> 51275ea7a91880a19c86ac079ab4462c489a5f19

dreammaster dreammaster at scummvm.org
Sun Oct 8 04:06:03 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:
51275ea7a9 TITANIC: DE: Fix default code wheel letters


Commit: 51275ea7a91880a19c86ac079ab4462c489a5f19
    https://github.com/scummvm/scummvm/commit/51275ea7a91880a19c86ac079ab4462c489a5f19
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-10-07T22:06:00-04:00

Commit Message:
TITANIC: DE: Fix default code wheel letters

Changed paths:
    engines/titanic/game/code_wheel.cpp
    engines/titanic/game/code_wheel.h


diff --git a/engines/titanic/game/code_wheel.cpp b/engines/titanic/game/code_wheel.cpp
index b395208..d52f810 100644
--- a/engines/titanic/game/code_wheel.cpp
+++ b/engines/titanic/game/code_wheel.cpp
@@ -162,4 +162,8 @@ bool CodeWheel::CheckCodeWheelsMsg(CCheckCodeWheelsMsg *msg) {
 	return true;
 }
 
+void CodeWheel::reset() {
+	_value = TRANSLATE(4, 14);
+}
+
 } // End of namespace Titanic
diff --git a/engines/titanic/game/code_wheel.h b/engines/titanic/game/code_wheel.h
index 4de937b..4af1c6f 100644
--- a/engines/titanic/game/code_wheel.h
+++ b/engines/titanic/game/code_wheel.h
@@ -57,7 +57,7 @@ public:
 	/**
 	 * Resets a code wheel back to the default 'O' value
 	 */
-	void reset() { _value = 4; }
+	void reset();
 };
 
 } // End of namespace Titanic





More information about the Scummvm-git-logs mailing list