Add zeds changing moveTarget when in-fighting starts
This commit is contained in:
parent
8f5511e899
commit
a003061d6d
1 changed files with 1 additions and 0 deletions
|
|
@ -480,6 +480,7 @@ function bool SetEnemy( pawn newEnemy,
|
||||||
// Do fight if we can
|
// Do fight if we can
|
||||||
if(bCanForceFight)
|
if(bCanForceFight)
|
||||||
{
|
{
|
||||||
|
moveTarget = newEnemy;
|
||||||
ChangeEnemy(newEnemy, true);
|
ChangeEnemy(newEnemy, true);
|
||||||
FightEnemy(false);
|
FightEnemy(false);
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue