From 9e70b0853bd79c07380f2e1975677ab85e208bf2 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 1 Sep 2016 18:52:27 +0200 Subject: DIRECTOR: Lingo: Fix 'the' entities processing --- engines/director/lingo/lingo-the.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'engines') 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); -- cgit v1.2.3