mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
- 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:
+4
-1
@@ -10990,13 +10990,16 @@ void ApplyEquipmentBonuses(SOLDIERTYPE * pSoldier)
|
|||||||
//if ( pSoldier->bInSector)
|
//if ( pSoldier->bInSector)
|
||||||
// pSoldier->CreateSoldierPalettes( );
|
// 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
|
// This should fix the bug and crashes with missing faces
|
||||||
if (SetCamoFace( pSoldier ))
|
if (SetCamoFace( pSoldier ))
|
||||||
{
|
{
|
||||||
DeleteSoldierFace( pSoldier );// remove face
|
DeleteSoldierFace( pSoldier );// remove face
|
||||||
pSoldier->iFaceIndex = InitSoldierFace( pSoldier );// create new face
|
pSoldier->iFaceIndex = InitSoldierFace( pSoldier );// create new face
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
fInterfacePanelDirty = DIRTYLEVEL2;
|
fInterfacePanelDirty = DIRTYLEVEL2;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user