mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
- Adding XML_Roaming.cpp to project
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@860 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -621,6 +621,8 @@ INT8 CalcActionPoints(SOLDIERTYPE *pSold)
|
||||
ubPoints +=0;
|
||||
}
|
||||
}
|
||||
else
|
||||
ubPoints += gGameExternalOptions.iPlayerAPBonus;
|
||||
|
||||
// if we are in boxing mode, adjust APs... THIS MUST BE LAST!
|
||||
if ( gTacticalStatus.bBoxingState == BOXING || gTacticalStatus.bBoxingState == PRE_BOXING )
|
||||
@@ -687,7 +689,7 @@ void CalcNewActionPoints( SOLDIERTYPE *pSoldier )
|
||||
}
|
||||
else
|
||||
{ //Kaiden: Players just max out normally unless drugged
|
||||
pSoldier->bActionPoints = __min( pSoldier->bActionPoints, gubMaxActionPoints[ pSoldier->ubBodyType ] );
|
||||
pSoldier->bActionPoints = __min( pSoldier->bActionPoints, (gubMaxActionPoints[ pSoldier->ubBodyType ] + gGameExternalOptions.iPlayerAPBonus) );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user