mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
fixed vehicles turning towards player merc who shot them
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9126 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -9565,7 +9565,7 @@ BOOLEAN ProcessImplicationsOfPCAttack( SOLDIERTYPE * pSoldier, SOLDIERTYPE ** pp
|
||||
|
||||
}
|
||||
// firing at one of our own guys who is not a rebel etc
|
||||
else if ( pTarget->stats.bLife >= OKLIFE && !(pTarget->bCollapsed) && !AM_A_ROBOT( pTarget ) && (bReason == REASON_NORMAL_ATTACK ) )
|
||||
else if (pTarget->stats.bLife >= OKLIFE && !(pTarget->bCollapsed) && !AM_A_ROBOT(pTarget) && !(pTarget->flags.uiStatusFlags & SOLDIER_VEHICLE) && (bReason == REASON_NORMAL_ATTACK))
|
||||
{
|
||||
// OK, sturn towards the prick
|
||||
// Change to fire ready animation
|
||||
|
||||
Reference in New Issue
Block a user