DIRECTOR: LINGO: Enable sprite on property set
This commit is contained in:
parent
a3a6988178
commit
e248e9590c
1 changed files with 3 additions and 0 deletions
|
@ -820,6 +820,9 @@ void Lingo::setTheSprite(Datum &id1, int field, Datum &d) {
|
|||
if (!sprite)
|
||||
return;
|
||||
|
||||
if (!sprite->_enabled)
|
||||
sprite->_enabled = true;
|
||||
|
||||
switch (field) {
|
||||
case kTheBackColor:
|
||||
sprite->_backColor = d.asInt();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue