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:
Flugente
2012-08-07 20:49:33 +00:00
parent 9a045be6ce
commit 24708bcf2b
+2 -2
View File
@@ -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: