[Scummvm-git-logs] scummvm master -> 3c318cb3f81560666f2fbd4988a895d8c544bbd5

rvanlaar noreply at scummvm.org
Sun Mar 13 14:43:56 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:
3c318cb3f8 DIRECTOR: LINGO: Fix Lingo V4 entity the type


Commit: 3c318cb3f81560666f2fbd4988a895d8c544bbd5
    https://github.com/scummvm/scummvm/commit/3c318cb3f81560666f2fbd4988a895d8c544bbd5
Author: Roland van Laar (roland at rolandvanlaar.nl)
Date: 2022-03-13T15:43:42+01:00

Commit Message:
DIRECTOR: LINGO: Fix Lingo V4 entity the type

Set the right  bytecode for the entity kTheType. kTheCursor was
defined for two bytecode operations.

This fixes a long standing bug in Majestic. A rectangle got its cursor
set instead of the type. Obsuring other rectangles which did should have
shown a cursor. Now all interactive objects are indicated by a cursor
change.

Changed paths:
    engines/director/lingo/lingo-bytecode.cpp


diff --git a/engines/director/lingo/lingo-bytecode.cpp b/engines/director/lingo/lingo-bytecode.cpp
index f552f0993e7..0cd7df7bcbf 100644
--- a/engines/director/lingo/lingo-bytecode.cpp
+++ b/engines/director/lingo/lingo-bytecode.cpp
@@ -173,7 +173,7 @@ static LingoV4TheEntity lingoV4TheEntity[] = {
 
 	{ 0x04, 0x01, kTheSoundEntity,		kTheVolume,			true, kTEAItemId },
 
-	{ 0x06, 0x01, kTheSprite,			kTheCursor,			true, kTEAItemId },
+	{ 0x06, 0x01, kTheSprite,			kTheType,			true, kTEAItemId },
 	{ 0x06, 0x02, kTheSprite,			kTheBackColor,		true, kTEAItemId },
 	{ 0x06, 0x03, kTheSprite,			kTheBottom,			true, kTEAItemId },
 	{ 0x06, 0x04, kTheSprite,			kTheCastNum,		true, kTEAItemId },




More information about the Scummvm-git-logs mailing list