hook language command switch to V2 font / prepositions

svn-id: r7970
This commit is contained in:
Max Horn 2003-05-25 20:38:44 +00:00
parent fb0b37c69b
commit 80eab4c3c4
3 changed files with 16 additions and 3 deletions

View file

@ -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) {