mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
Remove unused local variable
This commit is contained in:
@@ -3941,8 +3941,6 @@ INT8 CalcMoraleNew(SOLDIERTYPE *pSoldier)
|
|||||||
bMoraleCategory ++;
|
bMoraleCategory ++;
|
||||||
}
|
}
|
||||||
|
|
||||||
INT32 sClosestOpponent = ClosestKnownOpponent(pSoldier, NULL, NULL);
|
|
||||||
|
|
||||||
// if last attack of this soldier hit enemy - increase morale
|
// if last attack of this soldier hit enemy - increase morale
|
||||||
if( pSoldier->aiData.bLastAttackHit )
|
if( pSoldier->aiData.bLastAttackHit )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user