mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 01:57:16 +00:00
TUCKER: Workaround capitalized "With"/"Con" in sentence bar
infobar.txt contains all text used for the sentence bar and, among other things, the prepositions to use for the "Use" and "Give" verbs. In the English and Spanish versions of the game the preposition for "Use" ("With" and "Con", respectively) is incorrectly stored in capitalized form which this commit fixes. Fixes Trac#10445.
This commit is contained in:
parent
585fc91de5
commit
ada79c7f65
@ -364,7 +364,16 @@ void TuckerEngine::mainLoop() {
|
|||||||
}
|
}
|
||||||
loadCharset();
|
loadCharset();
|
||||||
loadPanel();
|
loadPanel();
|
||||||
|
|
||||||
loadFile("infobar.txt", _infoBarBuf);
|
loadFile("infobar.txt", _infoBarBuf);
|
||||||
|
// WORKAROUND capitalized "With"/"Con" in the English/Spanish versions
|
||||||
|
// Fixes Trac#10445.
|
||||||
|
if (_gameLang == Common::EN_ANY) {
|
||||||
|
_infoBarBuf[getPositionForLine(kVerbPrepositionWith, _infoBarBuf)] = 'w';
|
||||||
|
} else if (_gameLang == Common::ES_ESP) {
|
||||||
|
_infoBarBuf[getPositionForLine(kVerbPrepositionWith, _infoBarBuf)] = 'c';
|
||||||
|
}
|
||||||
|
|
||||||
_data5Buf = loadFile("data5.c", 0);
|
_data5Buf = loadFile("data5.c", 0);
|
||||||
_bgTextBuf = loadFile("bgtext.c", 0);
|
_bgTextBuf = loadFile("bgtext.c", 0);
|
||||||
_charNameBuf = loadFile("charname.c", 0);
|
_charNameBuf = loadFile("charname.c", 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user