From 0b9b683d627d3c140cef3a5736c5bac6fb250fe0 Mon Sep 17 00:00:00 2001 From: MaddMugsy Date: Sun, 18 Jun 2006 02:30:37 +0000 Subject: [PATCH] -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 --- TacticalAI/DecideAction.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/TacticalAI/DecideAction.cpp b/TacticalAI/DecideAction.cpp index 0e9c7780d..0965c4819 100644 --- a/TacticalAI/DecideAction.cpp +++ b/TacticalAI/DecideAction.cpp @@ -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)); } }