aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/director/lingo/lingo-the.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/director/lingo/lingo-the.cpp b/engines/director/lingo/lingo-the.cpp
index bef2e50acf..7fb055174d 100644
--- a/engines/director/lingo/lingo-the.cpp
+++ b/engines/director/lingo/lingo-the.cpp
@@ -366,10 +366,12 @@ Datum Lingo::getTheEntity(int entity, Datum &id, int field) {
d.u.f = sqrt(id.u.f);
break;
case kTheColorQD:
- push(Datum(1));
+ d.type = INT;
+ d.u.i = 1;
break;
case kTheColorDepth:
- push(Datum(_vm->_colorDepth));
+ d.type = INT;
+ d.u.i = _vm->_colorDepth;
break;
default:
warning("Unprocessed getting field %d of entity %d", field, entity);