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
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r986 \cu(Mon 16 Oct 14:10:40 CEST 2023)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r986 \cu(2023-10-16 14:10:40)\c-";
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r987 \cu(Mon 16 Oct 20:11:18 CEST 2023)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r987 \cu(2023-10-16 20:11:18)\c-";
|
||||
|
|
|
|||
|
|
@ -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