Fix moths getting stuck to befriended cacos.
This commit is contained in:
parent
405de75ef6
commit
aae213fd1c
2 changed files with 3 additions and 3 deletions
|
|
@ -100,7 +100,7 @@ Class LampMoth : Actor
|
|||
}
|
||||
void A_SmoothChase()
|
||||
{
|
||||
if ( !target || (target.Health <= 0) )
|
||||
if ( !target || (target.Health <= 0) || target.IsFriend(self) )
|
||||
{
|
||||
A_ClearTarget();
|
||||
SetStateLabel("Spawn");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue