diff options
-rw-r--r-- | engines/titanic/game/code_wheel.cpp | 4 | ||||
-rw-r--r-- | engines/titanic/game/code_wheel.h | 2 |
2 files changed, 5 insertions, 1 deletions
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 |