mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
Fix (by DepressivesBrot): draw AP costs were not calculated correctly
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5449 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+2
-2
@@ -2971,9 +2971,9 @@ INT16 GetAPsToReadyWeapon( SOLDIERTYPE *pSoldier, UINT16 usAnimState )
|
|||||||
//{
|
//{
|
||||||
//return( APBPConstants[AP_READY_DUAL] );
|
//return( APBPConstants[AP_READY_DUAL] );
|
||||||
//}
|
//}
|
||||||
if ( AM_A_ROBOT( pSoldier ) && gGameExternalOptions.fRobotNoReadytime);
|
if ( AM_A_ROBOT( pSoldier ) && gGameExternalOptions.fRobotNoReadytime){
|
||||||
return 0;
|
return 0;
|
||||||
|
}
|
||||||
if ( pSoldier->IsValidSecondHandShot( ) )
|
if ( pSoldier->IsValidSecondHandShot( ) )
|
||||||
{
|
{
|
||||||
//Madd: return the greater of the two weapons + 1:
|
//Madd: return the greater of the two weapons + 1:
|
||||||
|
|||||||
Reference in New Issue
Block a user