Fix: removed unnecessary display cover updates (by Ocular)

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7651 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2014-11-11 19:33:26 +00:00
parent b5ed7df390
commit ee27a3864c
4 changed files with 3 additions and 10 deletions
-7
View File
@@ -17372,8 +17372,6 @@ INT16 SOLDIERTYPE::GetInterruptModifier( UINT8 usDistance )
return bonus;
}
extern void DisplayCover( const BOOLEAN& forceUpdate );
void SOLDIERTYPE::SoldierPropertyUpkeep( )
{
// these effects last only one turn
@@ -17429,11 +17427,6 @@ void SOLDIERTYPE::SoldierPropertyUpkeep( )
{
this->usSoldierFlagMask &= ~SOLDIER_BATTLE_PARTICIPATION;
}
if ( this->bInSector && this->bTeam == gbPlayerNum && !this->bCollapsed )
{
DisplayCover( TRUE );
}
}
// check if Soldier can use the spell skillwise, with fAPCheck = TRUE also check current APs