[Scummvm-git-logs] scummvm master -> 16e0b2b0e0a27bc240bfdc8e5612feafa29d4f39

aquadran noreply at scummvm.org
Mon Oct 28 13:37:50 UTC 2024


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:
16e0b2b0e0 WINTERMUTE: CID 1433288


Commit: 16e0b2b0e0a27bc240bfdc8e5612feafa29d4f39
    https://github.com/scummvm/scummvm/commit/16e0b2b0e0a27bc240bfdc8e5612feafa29d4f39
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2024-10-28T14:37:45+01:00

Commit Message:
WINTERMUTE: CID 1433288

Changed paths:
    engines/wintermute/ad/ad_actor_3dx.cpp


diff --git a/engines/wintermute/ad/ad_actor_3dx.cpp b/engines/wintermute/ad/ad_actor_3dx.cpp
index e676b8187f5..05f15952d66 100644
--- a/engines/wintermute/ad/ad_actor_3dx.cpp
+++ b/engines/wintermute/ad/ad_actor_3dx.cpp
@@ -1522,7 +1522,7 @@ bool AdActor3DX::scCallMethod(ScScript *script, ScStack *stack, ScStack *thisSta
 		AdGame *adGame = (AdGame *)_gameRef;
 
 		if (isGoToNeeded(x, y)) {
-			if (adGame->_scene->_2DPathfinding) {
+			if (adGame->_scene && adGame->_scene->_2DPathfinding) {
 				goTo2D(x, y);
 
 				if (strcmp(name, "GoToAsync") != 0) {




More information about the Scummvm-git-logs mailing list