diff options
author | Max Horn | 2003-07-22 01:14:09 +0000 |
---|---|---|
committer | Max Horn | 2003-07-22 01:14:09 +0000 |
commit | 2cee32864a8be752abf0a0680f833b270db91973 (patch) | |
tree | f06e681413782844f9342b95a0e256cbb071d1f4 /scumm | |
parent | 1ba701296920115d1b70b9e0d22810e1104dad65 (diff) | |
download | scummvm-rg350-2cee32864a8be752abf0a0680f833b270db91973.tar.gz scummvm-rg350-2cee32864a8be752abf0a0680f833b270db91973.tar.bz2 scummvm-rg350-2cee32864a8be752abf0a0680f833b270db91973.zip |
fix spanish prepositions, see bug #772277. And BTW, does anybody know when and where the 'on/mit/sur/su/en' preposition is actually used?
svn-id: r9116
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script_v2.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp index 69f3d0f8d9..423ce5c945 100644 --- a/scumm/script_v2.cpp +++ b/scumm/script_v2.cpp @@ -951,9 +951,9 @@ void Scumm_v2::o2_drawSentence() { } if (0 < VAR(VAR_SENTENCE_PREPOSITION) && VAR(VAR_SENTENCE_PREPOSITION) <= 4) { - // FIXME: Are these stored somewhere in the data? If not, we have to provide - // localized versions for all the languages MM/Zak are available in. Note - // that we already will have to do that for the fonts anyway. + // The prepositions, like the fonts, were hard code in the engine. Thus + // we have to do that, too, and provde localized versions for all the + // languages MM/Zak are available in. // // The order here matches the one defined in gameDetector.h const char *prepositions[][5] = { @@ -962,12 +962,12 @@ void Scumm_v2::o2_drawSentence() { { " ", " dans", " avec", " sur", " <" }, // French { " ", " in", " con", " su", " a" }, // Italian { " ", " in", " with", " on", " to" }, // Portugese - { " ", " an", " con", " on", " a" }, // Spanish + { " ", " en", " con", " en", " a" }, // Spanish { " ", " in", " with", " on", " to" }, // Japanese { " ", " in", " with", " on", " to" }, // Chinese { " ", " in", " with", " on", " to" } // Korean }; - int lang = (_language <= 8) ? _language : 0; + int lang = (_language <= 8) ? _language : 0; // Default to english strcat(sentence, prepositions[lang][VAR(VAR_SENTENCE_PREPOSITION)]); } |