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

aquadran noreply at scummvm.org
Thu Oct 24 05:55:29 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:
c89ef0980a WINTERMUTE: Minor sync with original code


Commit: c89ef0980a64a25ce4eab87737009035cc0a49dd
    https://github.com/scummvm/scummvm/commit/c89ef0980a64a25ce4eab87737009035cc0a49dd
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2024-10-24T07:55:24+02:00

Commit Message:
WINTERMUTE: Minor sync with original code

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


diff --git a/engines/wintermute/ad/ad_scene_geometry.cpp b/engines/wintermute/ad/ad_scene_geometry.cpp
index 643c7a975ef..8e78e15fe8b 100644
--- a/engines/wintermute/ad/ad_scene_geometry.cpp
+++ b/engines/wintermute/ad/ad_scene_geometry.cpp
@@ -90,6 +90,7 @@ AdSceneGeometry::AdSceneGeometry(BaseGame *gameRef) : BaseObject(gameRef) {
 AdSceneGeometry::~AdSceneGeometry() {
 	cleanup();
 	delete _wptMarker;
+	_wptMarker = nullptr;
 }
 
 //////////////////////////////////////////////////////////////////////////
@@ -136,7 +137,7 @@ void AdSceneGeometry::cleanup() {
 	}
 	_PFPath.clear();
 
-	_PFTargetPath = NULL;
+	_PFTargetPath = nullptr;
 }
 
 //////////////////////////////////////////////////////////////////////////




More information about the Scummvm-git-logs mailing list