mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
*************************
* HAM 3.6 (by Headrock) * ************************* - Info: Needed GameDir files for HAM 3.6 are not committed yet to the SVN GameDir. Will do that in the next few days - For more infos on HAM 3.6 check out: http://www.ja-galaxy-forum.com/board/ubbthreads.php?ubb=showflat&Number=244808&page=0&fpart=1 git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@3323 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -849,7 +849,7 @@ void SoldierTriesToContinueAlongPath(SOLDIERTYPE *pSoldier)
|
||||
// Find out how much it takes to move here!
|
||||
bAPCost = EstimateActionPointCost( pSoldier, sNewGridNo, (INT8)pSoldier->pathing.usPathingData[ pSoldier->pathing.usPathIndex ], pSoldier->usUIMovementMode, (INT8) pSoldier->pathing.usPathIndex, (INT8) pSoldier->pathing.usPathDataSize );
|
||||
|
||||
if (pSoldier->bActionPoints >= bAPCost)
|
||||
if (pSoldier->bActionPoints >= bAPCost )
|
||||
{
|
||||
// seems to have enough points...
|
||||
NewDest(pSoldier,sNewGridNo);
|
||||
|
||||
Reference in New Issue
Block a user