diff options
author | Eugene Sandulenko | 2016-09-01 18:52:27 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-09-01 18:52:27 +0200 |
commit | 9e70b0853bd79c07380f2e1975677ab85e208bf2 (patch) | |
tree | aaf25fe0f011b98d9e859b88f723c6126081870d /engines/director | |
parent | 2f16dabe5786d3873dc80377a8d2c79d7439dab7 (diff) | |
download | scummvm-rg350-9e70b0853bd79c07380f2e1975677ab85e208bf2.tar.gz scummvm-rg350-9e70b0853bd79c07380f2e1975677ab85e208bf2.tar.bz2 scummvm-rg350-9e70b0853bd79c07380f2e1975677ab85e208bf2.zip |
DIRECTOR: Lingo: Fix 'the' entities processing
Diffstat (limited to 'engines/director')
-rw-r--r-- | engines/director/lingo/lingo-the.cpp | 6 |
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); |