mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Bugfix JaggZilla #532
Robot was limited to 6 bullets per autofire and wasted additional AP. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@6596 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -396,6 +396,13 @@ BOOLEAN AdjustToNextAnimationFrame( SOLDIERTYPE *pSoldier )
|
||||
else
|
||||
pSoldier->usAniCode = 34;
|
||||
}
|
||||
else if(pSoldier->usAnimState == ROBOT_BURST_SHOOT) //silversurfer: Bugfix JaggZilla #532 6 round burst limitation
|
||||
{
|
||||
if(pSoldier->bDoBurst < pSoldier->bDoAutofire)
|
||||
pSoldier->usAniCode = 4;
|
||||
else
|
||||
pSoldier->usAniCode = 34;
|
||||
}
|
||||
}
|
||||
|
||||
OBJECTTYPE* pObjUsed = pSoldier->GetUsedWeapon( &pSoldier->inv[ pSoldier->ubAttackingHand ] );
|
||||
|
||||
Reference in New Issue
Block a user