[Scummvm-git-logs] scummvm branch-2-7 -> f8a30abb135be889452c0471b733764ae690fd28

sev- noreply at scummvm.org
Tue Jan 31 13:12:38 UTC 2023


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:
f8a30abb13 DIRECTOR: LINGO: Do not freak out when romanLingo is set to 1, as we are compatible


Commit: f8a30abb135be889452c0471b733764ae690fd28
    https://github.com/scummvm/scummvm/commit/f8a30abb135be889452c0471b733764ae690fd28
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-01-31T14:12:24+01:00

Commit Message:
DIRECTOR: LINGO: Do not freak out when romanLingo is set to 1, as we are compatible

Changed paths:
    engines/director/lingo/lingo-the.cpp


diff --git a/engines/director/lingo/lingo-the.cpp b/engines/director/lingo/lingo-the.cpp
index 697b4decc09..c55f553a6fc 100644
--- a/engines/director/lingo/lingo-the.cpp
+++ b/engines/director/lingo/lingo-the.cpp
@@ -1072,8 +1072,12 @@ void Lingo::setTheEntity(int entity, Datum &id, int field, Datum &d) {
 		break;
 	case kTheRomanLingo:
 		g_lingo->_romanLingo = bool(d.asInt());
-		warning("BUILDBOT: the romanLingo is set to %d", g_lingo->_romanLingo);
-		setTheEntitySTUB(kTheRomanLingo);
+
+		// Catching when we set to Japanese
+		if (!g_lingo->_romanLingo) {
+			warning("BUILDBOT: the romanLingo is set to %d", g_lingo->_romanLingo);
+			setTheEntitySTUB(kTheRomanLingo);
+		}
 		break;
 	case kTheScummvmVersion:
 		// Allow director version change: used for testing version differences via the lingo tests.




More information about the Scummvm-git-logs mailing list