From f64fc4133c5ead6874ea27646d6df322c83558a9 Mon Sep 17 00:00:00 2001 From: Wanne Date: Mon, 1 Aug 2011 20:55:09 +0000 Subject: [PATCH] BUGZILLA #556: Fixed CTD if enemy bleeds to death at the end of a players turn git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@4597 3b4a5df2-a311-0410-b5c6-a8a6f20db521 --- Tactical/Soldier Ani.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tactical/Soldier Ani.cpp b/Tactical/Soldier Ani.cpp index d787ae27..8cbe8d47 100644 --- a/Tactical/Soldier Ani.cpp +++ b/Tactical/Soldier Ani.cpp @@ -3347,9 +3347,9 @@ BOOLEAN HandleSoldierDeath( SOLDIERTYPE *pSoldier , BOOLEAN *pfMadeCorpse ) } ////////////////////////////////////////////////////////////// - - // WANNE: This should fix crash in a MP game, when someone quits playing - if ( (is_networked && pSoldier->ubAttackerID < 254) || !is_networked ) + + // WANNE: This should fix crash that could occur if enemy bleeds to death + if ( pSoldier->ubAttackerID < 254 ) { // IF this guy has an attacker and he's a good guy, play sound if ( ubAttacker != NOBODY )