aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/true_talk/tt_word.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2017-09-18 18:16:03 -0400
committerPaul Gilbert2017-09-18 18:16:03 -0400
commit5af8ed228d729dd9ef71f5f6cea7adb254dff7a4 (patch)
tree042295fae00eb651b35f3702408e60944462ae88 /engines/titanic/true_talk/tt_word.cpp
parent1d4e2c67fa20d962b0755cbe6a9c653f3bec76e5 (diff)
downloadscummvm-rg350-5af8ed228d729dd9ef71f5f6cea7adb254dff7a4.tar.gz
scummvm-rg350-5af8ed228d729dd9ef71f5f6cea7adb254dff7a4.tar.bz2
scummvm-rg350-5af8ed228d729dd9ef71f5f6cea7adb254dff7a4.zip
TITANIC: Add VocabMode enum, fix German vocab loading
Diffstat (limited to 'engines/titanic/true_talk/tt_word.cpp')
-rw-r--r--engines/titanic/true_talk/tt_word.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/true_talk/tt_word.cpp b/engines/titanic/true_talk/tt_word.cpp
index 5ed3e5755f..c05b61e48c 100644
--- a/engines/titanic/true_talk/tt_word.cpp
+++ b/engines/titanic/true_talk/tt_word.cpp
@@ -163,14 +163,14 @@ uint TTword::readNumber(const char *str) {
}
bool TTword::testFileHandle(FileHandle file) const {
- if (g_vm->_exeResources.is18Equals(3))
+ if (g_vm->_exeResources.isVocabMode(VOCAB_MODE_EN))
return true;
// TODO: Figure out why original compares passed file handle against specific values
return true;
}
-bool TTword::findSynByName(const TTstring &str, TTsynonym *dest, int mode) const {
+bool TTword::findSynByName(const TTstring &str, TTsynonym *dest, VocabMode mode) const {
if (!_synP)
return false;