aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game
diff options
context:
space:
mode:
authorPaul Gilbert2017-10-07 22:06:00 -0400
committerPaul Gilbert2017-10-07 22:06:00 -0400
commit51275ea7a91880a19c86ac079ab4462c489a5f19 (patch)
tree06e5ea53fdaa3198bfd50e15b6b9c44fc45f5769 /engines/titanic/game
parentbca0a3f2da8db9cfe3c39000e4a9ce3f15ba6ad7 (diff)
downloadscummvm-rg350-51275ea7a91880a19c86ac079ab4462c489a5f19.tar.gz
scummvm-rg350-51275ea7a91880a19c86ac079ab4462c489a5f19.tar.bz2
scummvm-rg350-51275ea7a91880a19c86ac079ab4462c489a5f19.zip
TITANIC: DE: Fix default code wheel letters
Diffstat (limited to 'engines/titanic/game')
-rw-r--r--engines/titanic/game/code_wheel.cpp4
-rw-r--r--engines/titanic/game/code_wheel.h2
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