From 51275ea7a91880a19c86ac079ab4462c489a5f19 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 7 Oct 2017 22:06:00 -0400 Subject: TITANIC: DE: Fix default code wheel letters --- engines/titanic/game/code_wheel.cpp | 4 ++++ engines/titanic/game/code_wheel.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'engines/titanic/game') diff --git a/engines/titanic/game/code_wheel.cpp b/engines/titanic/game/code_wheel.cpp index b395208af4..d52f8102b5 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 4de937b5cc..4af1c6f388 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 -- cgit v1.2.3