aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic
diff options
context:
space:
mode:
authorPaul Gilbert2016-05-11 19:13:46 -0400
committerPaul Gilbert2016-07-10 16:39:17 -0400
commit96a11a08bd4c59cc17a0d502e45c3c0480925c3f (patch)
tree3cf40ac7b2f3078bc05e2bda0322a1f9769f2eee /engines/titanic
parent9c8d4f234b3eb8f825b51a225466228c3cf0c727 (diff)
downloadscummvm-rg350-96a11a08bd4c59cc17a0d502e45c3c0480925c3f.tar.gz
scummvm-rg350-96a11a08bd4c59cc17a0d502e45c3c0480925c3f.tar.bz2
scummvm-rg350-96a11a08bd4c59cc17a0d502e45c3c0480925c3f.zip
TITANIC: Fix loading TTword3 vocab
Diffstat (limited to 'engines/titanic')
-rw-r--r--engines/titanic/true_talk/tt_word.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/true_talk/tt_word.cpp b/engines/titanic/true_talk/tt_word.cpp
index 431a1d8767..067560bfa8 100644
--- a/engines/titanic/true_talk/tt_word.cpp
+++ b/engines/titanic/true_talk/tt_word.cpp
@@ -146,7 +146,7 @@ int TTword3::load(SimpleFile *file) {
CString str;
int val1, val2;
- if (!TTword::load(file, 2) && file->scanf("%d %d %d", &str, &val1, &val2)) {
+ if (!TTword::load(file, 2) && file->scanf("%s %d %d", &str, &val1, &val2)) {
_field34 = readNumber(str.c_str());
_field30 = val1;
_field3C = val2;