[Scummvm-git-logs] scummvm master -> bee1564d5d696b7826b286bbb9f60cc17ae50262
sev-
noreply at scummvm.org
Mon Jun 20 23:16:35 UTC 2022
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
bee1564d5d DIRECTOR: LINGO: IMplement kTheScoreColor STUB in Lingo::getTheEntity()
Commit: bee1564d5d696b7826b286bbb9f60cc17ae50262
https://github.com/scummvm/scummvm/commit/bee1564d5d696b7826b286bbb9f60cc17ae50262
Author: Pragyansh Chaturvedi (r41k0u) (pragyanshchaturvedi18 at gmail.com)
Date: 2022-06-21T01:16:33+02:00
Commit Message:
DIRECTOR: LINGO: IMplement kTheScoreColor STUB in Lingo::getTheEntity()
Changed paths:
engines/director/lingo/lingo-the.cpp
diff --git a/engines/director/lingo/lingo-the.cpp b/engines/director/lingo/lingo-the.cpp
index 609bede43d7..63c36b15608 100644
--- a/engines/director/lingo/lingo-the.cpp
+++ b/engines/director/lingo/lingo-the.cpp
@@ -1371,7 +1371,8 @@ Datum Lingo::getTheSprite(Datum &id1, int field) {
d.u.i = channel->getBbox().right;
break;
case kTheScoreColor:
- warning("STUB: Lingo::getTheSprite(): Unprocessed getting field \"%s\" of sprite", field2str(field));
+ //Check the last 3 bits of the _colorcode byte as value lies in 0 to 5
+ d.u.i = (int)(sprite->_colorcode & 0x7);
break;
case kTheScriptNum:
d.type = INT;
More information about the Scummvm-git-logs
mailing list