- Fixed game hang when merc tries to exermine a door with explosives

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@4459 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Wanne
2011-05-29 21:46:00 +00:00
parent 2b7f79db94
commit 1b60a67678
+4 -1
View File
@@ -10990,13 +10990,16 @@ void ApplyEquipmentBonuses(SOLDIERTYPE * pSoldier)
//if ( pSoldier->bInSector)
// pSoldier->CreateSoldierPalettes( );
// WANNE: We should only delete the face, if there was a camo we applied.
// WANNE: I disabled the call, because it leeds to endless loop when examining doors with explosives!
/*
// This should fix the bug and crashes with missing faces
if (SetCamoFace( pSoldier ))
{
DeleteSoldierFace( pSoldier );// remove face
pSoldier->iFaceIndex = InitSoldierFace( pSoldier );// create new face
}
*/
fInterfacePanelDirty = DIRTYLEVEL2;
}