mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
-made sure rocket launcher / tank warning doesn't come up for militia
-made a better fix for snipers not firing git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@292 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -4845,6 +4845,8 @@ INT8 DecideAction(SOLDIERTYPE *pSoldier)
|
||||
UINT32 uiStartTime, uiEndTime;
|
||||
#endif
|
||||
|
||||
if ( pSoldier->bTeam != MILITIA_TEAM )
|
||||
{
|
||||
if ( !sniperwarning && pSoldier->bOrders == SNIPER )
|
||||
{
|
||||
ScreenMsg( FONT_MCOLOR_LTYELLOW, MSG_INTERFACE, L"Watch out for snipers..." );
|
||||
@@ -4857,7 +4859,7 @@ INT8 DecideAction(SOLDIERTYPE *pSoldier)
|
||||
//TODO: don't say this again after reloading a savegame
|
||||
SayQuoteFromAnyBodyInSector( QUOTE_WEARY_SLASH_SUSPUCIOUS );
|
||||
}
|
||||
|
||||
}
|
||||
// turn off cautious flag
|
||||
pSoldier->fAIFlags &= (~AI_CAUTIOUS);
|
||||
//reset flank count
|
||||
|
||||
Reference in New Issue
Block a user