-more from the last update

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@260 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
MaddMugsy
2006-06-18 02:30:37 +00:00
parent 8f53acf606
commit 0b9b683d62
+2 -3
View File
@@ -3328,7 +3328,7 @@ DebugMsg (TOPIC_JA2,DBG_LEVEL_3,"decideactionred: radio red alert?");
////////////////////////////////////////////////////////////////////////////
// If sniper and nothing else to do then raise gun, and if that doesn't find somebody then goto green
// If sniper and nothing else to do then raise gun, and if that doesn't find somebody then goto yellow
////////////////////////////////////////////////////////////////////////////
if ( pSoldier->bOrders == SNIPER )
{
@@ -3344,8 +3344,7 @@ DebugMsg (TOPIC_JA2,DBG_LEVEL_3,"decideactionred: radio red alert?");
else
{
pSoldier->sniper = 0;
pSoldier->bBypassToGreen = 30;
return(DecideActionGreen(pSoldier));
return(DecideActionYellow(pSoldier));
}
}