[Scummvm-git-logs] scummvm master -> d4507f3764207bae36a16c71c56cb4b282eff01b

sev- noreply at scummvm.org
Fri Jan 27 13:59:17 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:
d4507f3764 DIRECTOR: LINGO: Do not freak out when romanLingo is set to 1, as we are compatible


Commit: d4507f3764207bae36a16c71c56cb4b282eff01b
    https://github.com/scummvm/scummvm/commit/d4507f3764207bae36a16c71c56cb4b282eff01b
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-01-27T14:58:50+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