mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1017 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -2040,6 +2040,10 @@ INT8 ExecuteAction(SOLDIERTYPE *pSoldier)
|
||||
|
||||
DebugAI( String( "%d does %s (a.d. %d) at time %ld", pSoldier->ubID, gzActionStr[pSoldier->bAction], pSoldier->usActionData, GetJA2Clock() ) );
|
||||
|
||||
// 0verhaul: The decideaction stage does so many path plots and overrides that
|
||||
// relying on a stored path from there is a bad idea.
|
||||
pSoldier->usPathDataSize = pSoldier->usPathIndex = pSoldier->bPathStored = 0;
|
||||
|
||||
switch (pSoldier->bAction)
|
||||
{
|
||||
case AI_ACTION_NONE: // maintain current position & facing
|
||||
|
||||
Reference in New Issue
Block a user