[Scummvm-git-logs] scummvm master -> c72a109ce06f332c0bbf32471a3677bfb263550b

sev- noreply at scummvm.org
Sat Jun 18 21:11:43 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:
c72a109ce0 DIRECTOR: LINGO: Implement scriptNum of sprite STUB in lingo-the.cpp


Commit: c72a109ce06f332c0bbf32471a3677bfb263550b
    https://github.com/scummvm/scummvm/commit/c72a109ce06f332c0bbf32471a3677bfb263550b
Author: Pragyansh Chaturvedi (r41k0u) (pragyanshchaturvedi18 at gmail.com)
Date: 2022-06-18T23:11:39+02:00

Commit Message:
DIRECTOR: LINGO: Implement scriptNum of sprite STUB in lingo-the.cpp

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 dcbefe64382..48b511b4843 100644
--- a/engines/director/lingo/lingo-the.cpp
+++ b/engines/director/lingo/lingo-the.cpp
@@ -1368,7 +1368,8 @@ Datum Lingo::getTheSprite(Datum &id1, int field) {
 		warning("STUB: Lingo::getTheSprite(): Unprocessed getting field \"%s\" of sprite", field2str(field));
 		break;
 	case kTheScriptNum:
-		warning("STUB: Lingo::getTheSprite(): Unprocessed getting field \"%s\" of sprite", field2str(field));
+		d.type = INT;
+		d.u.i = sprite->_scriptId.member;
 		break;
 	case kTheStartTime:
 		d.u.i = channel->_startTime;




More information about the Scummvm-git-logs mailing list