mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
DIRECTOR: LINGO: Implement kTheLastFrame property
This commit is contained in:
committed by
Eugene Sandulenko
parent
85e3fb38fb
commit
8532628f97
@@ -425,7 +425,11 @@ Datum Lingo::getTheEntity(int entity, Datum &id, int field) {
|
||||
case kTheStillDown:
|
||||
d.type = INT;
|
||||
d.u.i = _vm->getCurrentScore()->_mouseIsDown;
|
||||
break;
|
||||
break;
|
||||
case kTheLastFrame:
|
||||
d.type = INT;
|
||||
d.u.i = _vm->getCurrentScore()->_frames.size() - 1;
|
||||
break;
|
||||
default:
|
||||
warning("Lingo::getTheEntity(): Unprocessed getting field \"%s\" of entity %s", field2str(field), entity2str(entity));
|
||||
d.type = VOID;
|
||||
|
||||
Reference in New Issue
Block a user