[Scummvm-git-logs] scummvm master -> 059a45b075b04abce7e13f50c9d2db1caf75333b
sev-
noreply at scummvm.org
Tue Jun 14 07:51:52 UTC 2022
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:
059a45b075 DIRECTOR: Catch writing to read-only properties with buildbot
Commit: 059a45b075b04abce7e13f50c9d2db1caf75333b
https://github.com/scummvm/scummvm/commit/059a45b075b04abce7e13f50c9d2db1caf75333b
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2022-06-14T09:51:12+02:00
Commit Message:
DIRECTOR: Catch writing to read-only properties with buildbot
Changed paths:
engines/director/lingo/lingo-object.cpp
diff --git a/engines/director/lingo/lingo-object.cpp b/engines/director/lingo/lingo-object.cpp
index 73d49fe068d..1ddbd5ea4e7 100644
--- a/engines/director/lingo/lingo-object.cpp
+++ b/engines/director/lingo/lingo-object.cpp
@@ -703,7 +703,7 @@ bool CastMember::setField(int field, const Datum &d) {
warning("STUB: CastMember::setField(): Unprocessed setting field \"%s\" of cast %d", g_lingo->field2str(field), _castId);
return false;
case kTheCastType:
- warning("CastMember::setField(): Attempt to set read-only field %s of cast %d", g_lingo->entity2str(field), _castId);
+ warning("BUILDBOT: CastMember::setField(): Attempt to set read-only field %s of cast %d", g_lingo->entity2str(field), _castId);
return false;
case kTheFileName:
if (!castInfo) {
@@ -716,7 +716,7 @@ bool CastMember::setField(int field, const Datum &d) {
warning("STUB: CastMember::setField(): Unprocessed setting field \"%s\" of cast %d", g_lingo->field2str(field), _castId);
return false;
case kTheHeight:
- warning("CastMember::setField(): Attempt to set read-only field \"%s\" of cast %d", g_lingo->field2str(field), _castId);
+ warning("BUILDBOT: CastMember::setField(): Attempt to set read-only field \"%s\" of cast %d", g_lingo->field2str(field), _castId);
return false;
case kTheName:
if (!castInfo) {
@@ -740,7 +740,7 @@ bool CastMember::setField(int field, const Datum &d) {
castInfo->script = d.asString();
return true;
case kTheWidth:
- warning("CastMember::setField(): Attempt to set read-only field \"%s\" of cast %d", g_lingo->field2str(field), _castId);
+ warning("BUILDBOT: CastMember::setField(): Attempt to set read-only field \"%s\" of cast %d", g_lingo->field2str(field), _castId);
return false;
default:
warning("CastMember::setField(): Unprocessed setting field \"%s\" of cast %d", g_lingo->field2str(field), _castId);
More information about the Scummvm-git-logs
mailing list