aboutsummaryrefslogtreecommitdiff
path: root/engines/director/lingo
diff options
context:
space:
mode:
authorEugene Sandulenko2019-12-29 00:36:30 +0100
committerEugene Sandulenko2019-12-29 00:51:16 +0100
commit35e9a957575e7d8c194fd460f6f1ee50519a7033 (patch)
tree823cb88624c977d5af977ed2949a7e4c8380d8d5 /engines/director/lingo
parentcd7da28a9717703db608d93667d1be5aa8d5eab2 (diff)
downloadscummvm-rg350-35e9a957575e7d8c194fd460f6f1ee50519a7033.tar.gz
scummvm-rg350-35e9a957575e7d8c194fd460f6f1ee50519a7033.tar.bz2
scummvm-rg350-35e9a957575e7d8c194fd460f6f1ee50519a7033.zip
DIRECTOR: LINGO: Implement 'the stilldown'
Diffstat (limited to 'engines/director/lingo')
-rw-r--r--engines/director/lingo/lingo-the.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/director/lingo/lingo-the.cpp b/engines/director/lingo/lingo-the.cpp
index 1ea03b2ce6..1f82a90784 100644
--- a/engines/director/lingo/lingo-the.cpp
+++ b/engines/director/lingo/lingo-the.cpp
@@ -514,6 +514,10 @@ Datum Lingo::getTheEntity(int entity, Datum &id, int field) {
d.type = INT;
d.u.i = _vm->getCurrentScore()->getCurrentFrame();
break;
+ case kTheStillDown:
+ d.type = INT;
+ d.u.i = _vm->getCurrentScore()->_mouseIsDown;
+ break;
default:
warning("Lingo::getTheEntity(): Unprocessed getting field %d of entity %d", field, entity);
d.type = VOID;