From a351a03d0cbb80e08efca3433b056c0f4f906c18 Mon Sep 17 00:00:00 2001 From: lalien Date: Fri, 14 Jul 2006 19:37:08 +0000 Subject: [PATCH] - fixed crash in InternalIgniteExplosion, will disable HE ammo git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@343 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- TileEngine/Explosion Control.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/TileEngine/Explosion Control.cpp b/TileEngine/Explosion Control.cpp index 1cb4372a..a3113907 100644 --- a/TileEngine/Explosion Control.cpp +++ b/TileEngine/Explosion Control.cpp @@ -224,10 +224,10 @@ void InternalIgniteExplosion( UINT8 ubOwner, INT16 sX, INT16 sY, INT16 sZ, INT16 // Double check that we are using an explosive! // callahan start // this would completely stop any HE gunfire, so it has to die - // if ( !( Item[ usItem ].usItemClass & IC_EXPLOSV ) ) - // { - // return; - // } + if ( !( Item[ usItem ].usItemClass & IC_EXPLOSV ) ) + { + return; + } // callahan end // Increment attack counter...