mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
-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:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user