[Scummvm-git-logs] scummvm master -> 77a78904e5bc54b4a6266392934f10e10091b651

athrxx athrxx at scummvm.org
Mon Oct 4 19:46:41 UTC 2021


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
77a78904e5 KYRA: HOF: fix hebrew multiword object action str


Commit: 77a78904e5bc54b4a6266392934f10e10091b651
    https://github.com/scummvm/scummvm/commit/77a78904e5bc54b4a6266392934f10e10091b651
Author: BLooperZ (blooperz at users.noreply.github.com)
Date: 2021-10-04T21:46:38+02:00

Commit Message:
KYRA: HOF: fix hebrew multiword object action str

Changed paths:
    engines/kyra/engine/kyra_hof.cpp


diff --git a/engines/kyra/engine/kyra_hof.cpp b/engines/kyra/engine/kyra_hof.cpp
index b9b462e527..91d02d18bc 100644
--- a/engines/kyra/engine/kyra_hof.cpp
+++ b/engines/kyra/engine/kyra_hof.cpp
@@ -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);




More information about the Scummvm-git-logs mailing list