aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v2.cpp
diff options
context:
space:
mode:
authorMax Horn2003-05-25 20:38:44 +0000
committerMax Horn2003-05-25 20:38:44 +0000
commit80eab4c3c48a4291b68918838d543ed98b13ea9c (patch)
tree9064e2a83dde9533529b5563c922d4b26c707a83 /scumm/script_v2.cpp
parentfb0b37c69bfd2c4525e0bd092355dda6643ac51a (diff)
downloadscummvm-rg350-80eab4c3c48a4291b68918838d543ed98b13ea9c.tar.gz
scummvm-rg350-80eab4c3c48a4291b68918838d543ed98b13ea9c.tar.bz2
scummvm-rg350-80eab4c3c48a4291b68918838d543ed98b13ea9c.zip
hook language command switch to V2 font / prepositions
svn-id: r7970
Diffstat (limited to 'scumm/script_v2.cpp')
-rw-r--r--scumm/script_v2.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp
index 5f33fbb6e7..397eaaf477 100644
--- a/scumm/script_v2.cpp
+++ b/scumm/script_v2.cpp
@@ -951,7 +951,8 @@ void Scumm_v2::o2_drawSentence() {
{ " ", " in", " with", " on", " to" }, // Chinese
{ " ", " in", " with", " on", " to" } // Korean
};
- strcat(sentence, prepositions[0][VAR(VAR_SENTENCE_PREPOSITION)]);
+ int lang = (_language <= 8) ? _language : 0;
+ strcat(sentence, prepositions[lang][VAR(VAR_SENTENCE_PREPOSITION)]);
}
if (VAR(VAR_SENTENCE_OBJECT2) > 0) {