mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
100AP project integration
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@2402 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -241,7 +241,7 @@ INT16 FindGridNoFromSweetSpotCloseToExitGrid( SOLDIERTYPE *pSoldier, INT16 sSwee
|
||||
INT32 leftmost;
|
||||
BOOLEAN fFound = FALSE;
|
||||
SOLDIERTYPE soldier;
|
||||
UINT8 ubSaveNPCAPBudget;
|
||||
INT16 ubSaveNPCAPBudget;
|
||||
UINT8 ubSaveNPCDistLimit;
|
||||
EXITGRID ExitGrid;
|
||||
UINT8 ubGotoSectorX, ubGotoSectorY, ubGotoSectorZ;
|
||||
@@ -407,3 +407,4 @@ INT16 FindClosestExitGrid( SOLDIERTYPE *pSoldier, INT16 sSrcGridNo, INT8 ubRadiu
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -156,8 +156,8 @@ BOOLEAN CalcInteractiveObjectAPs( INT16 sGridNo, STRUCTURE * pStructure, INT16 *
|
||||
// If closed, we do not know what to do yet...
|
||||
//if ( pStructure->fFlags & STRUCTURE_OPEN )
|
||||
//{
|
||||
*psAPCost = AP_OPEN_DOOR;
|
||||
*psBPCost = AP_OPEN_DOOR;
|
||||
*psAPCost = APBPConstants[AP_OPEN_DOOR];
|
||||
*psBPCost = APBPConstants[AP_OPEN_DOOR];
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
@@ -167,8 +167,8 @@ BOOLEAN CalcInteractiveObjectAPs( INT16 sGridNo, STRUCTURE * pStructure, INT16 *
|
||||
}
|
||||
else
|
||||
{
|
||||
*psAPCost = AP_OPEN_DOOR;
|
||||
*psBPCost = AP_OPEN_DOOR;
|
||||
*psAPCost = APBPConstants[AP_OPEN_DOOR];
|
||||
*psBPCost = APBPConstants[AP_OPEN_DOOR];
|
||||
}
|
||||
|
||||
return( TRUE );
|
||||
|
||||
Reference in New Issue
Block a user