mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 12:39:56 +00:00
KYRA: HOF: fix hebrew multiword object action str
This commit is contained in:
parent
5006b1a50c
commit
77a78904e5
@ -872,7 +872,7 @@ void KyraEngine_HoF::showChapterMessage(int id, int16 palIndex) {
|
||||
void KyraEngine_HoF::updateCommandLineEx(int str1, int str2, int16 palIndex) {
|
||||
Common::String str = getTableString(str1, _cCodeBuffer, true);
|
||||
|
||||
if (_flags.lang != Common::JA_JPN) {
|
||||
if (_flags.lang != Common::JA_JPN && _flags.lang != Common::HE_ISR) {
|
||||
if (uint32 i = (uint32)str.findFirstOf(' ') + 1) {
|
||||
str.erase(0, i);
|
||||
str.setChar(toupper(str[0]), 0);
|
||||
@ -880,9 +880,12 @@ void KyraEngine_HoF::updateCommandLineEx(int str1, int str2, int16 palIndex) {
|
||||
}
|
||||
|
||||
if (str2 > 0) {
|
||||
if (_flags.lang != Common::JA_JPN)
|
||||
if (_flags.lang != Common::JA_JPN && _flags.lang != Common::HE_ISR)
|
||||
str += " ";
|
||||
str += getTableString(str2, _cCodeBuffer, 1);
|
||||
if (_flags.lang != Common::HE_ISR)
|
||||
str += getTableString(str2, _cCodeBuffer, 1);
|
||||
else
|
||||
str = getTableString(str2, _cCodeBuffer, 1) + " " + str + ".";
|
||||
}
|
||||
|
||||
showMessage(str, palIndex);
|
||||
|
Loading…
Reference in New Issue
Block a user