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

sev- noreply at scummvm.org
Tue Mar 4 22:49:42 UTC 2025


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:
b1e72ffbd7 DIRECTOR: XLIBS: Improved node jump processing in callback in QTVR Xlib


Commit: b1e72ffbd7d7b355aa0b6683bc54073e5009a39f
    https://github.com/scummvm/scummvm/commit/b1e72ffbd7d7b355aa0b6683bc54073e5009a39f
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2025-03-04T23:49:28+01:00

Commit Message:
DIRECTOR: XLIBS: Improved node jump processing in callback in QTVR Xlib

Changed paths:
    engines/director/lingo/xlibs/qtvr.cpp


diff --git a/engines/director/lingo/xlibs/qtvr.cpp b/engines/director/lingo/xlibs/qtvr.cpp
index 063805730bc..3126f0d4d05 100644
--- a/engines/director/lingo/xlibs/qtvr.cpp
+++ b/engines/director/lingo/xlibs/qtvr.cpp
@@ -238,11 +238,16 @@ void QTVR::m_mouseOver(int nargs) {
 						g_lingo->push(Common::String::format("jump,%d", node));
 					else
 						g_lingo->push(Common::String("pan ,0"));
+
 					return;
 				}
 
 				const Common::QuickTimeParser::PanoHotSpot *hotspotData = me->_video->getHotSpotByID(hotspot);
-				g_lingo->push(Common::String::format("%s,%d", hotspotData ? tag2str((uint32)hotspotData->type) : "undf", hotspot));
+
+				if (nodeChanged || (hotspotData && hotspotData->type == MKTAG('l','i','n','k')))
+					g_lingo->push(Common::String::format("jump,%d", node));
+				else
+					g_lingo->push(Common::String::format("%s,%d", hotspotData ? tag2str((uint32)hotspotData->type) : "undf", hotspot));
 
 				return;
 			}




More information about the Scummvm-git-logs mailing list