From 174b870afeee3af2cdc352d2a7ce6657f2837743 Mon Sep 17 00:00:00 2001 From: Flugente Date: Mon, 12 Jul 2021 19:48:57 +0000 Subject: [PATCH] Fix: crash when gas spreads on certain structures git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9140 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- TileEngine/Explosion Control.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TileEngine/Explosion Control.cpp b/TileEngine/Explosion Control.cpp index bcb26f28..e23731c1 100644 --- a/TileEngine/Explosion Control.cpp +++ b/TileEngine/Explosion Control.cpp @@ -2673,7 +2673,7 @@ void GetRayStopInfo( UINT32 uiNewSpot, UINT8 ubDir, INT8 bLevel, BOOLEAN fSmokeE BOOLEAN fTravelCostObs = FALSE; UINT32 uiRangeReduce; INT32 sNewGridNo; - STRUCTURE * pBlockingStructure; + STRUCTURE * pBlockingStructure = NULL; BOOLEAN fBlowWindowSouth = FALSE; BOOLEAN fReduceRay = TRUE;