[Scummvm-git-logs] scummvm master -> 70f2b93237194a0f57ce7b7cb693e5738b2cbf71
ysj1173886760
42030331+ysj1173886760 at users.noreply.github.com
Wed Aug 18 05:02:15 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:
70f2b93237 DIRECTOR: fix the editable.
Commit: 70f2b93237194a0f57ce7b7cb693e5738b2cbf71
https://github.com/scummvm/scummvm/commit/70f2b93237194a0f57ce7b7cb693e5738b2cbf71
Author: ysj1173886760 (1173886760 at qq.com)
Date: 2021-08-18T13:02:06+08:00
Commit Message:
DIRECTOR: fix the editable.
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 43c17ec3a8..f7c2e9fa4d 100644
--- a/engines/director/lingo/lingo-the.cpp
+++ b/engines/director/lingo/lingo-the.cpp
@@ -1292,7 +1292,7 @@ Datum Lingo::getTheSprite(Datum &id1, int field) {
}
break;
case kTheEditableText:
- d.u.i = sprite->_cast ? sprite->_cast->isEditable() : 0;
+ d.u.i = sprite->_editable;
break;
case kTheForeColor:
d.u.i = sprite->_foreColor;
@@ -1499,7 +1499,7 @@ void Lingo::setTheSprite(Datum &id1, int field, Datum &d) {
}
break;
case kTheEditableText:
- channel->setEditable(d.asInt());
+ channel->_sprite->_editable = d.asInt();
break;
case kTheForeColor:
if ((uint32)d.asInt() != sprite->_foreColor) {
More information about the Scummvm-git-logs
mailing list