diff --git a/wadsrc/static/zscript/actors/attacks.zs b/wadsrc/static/zscript/actors/attacks.zs index 1965be0b17..c1cb445e1d 100644 --- a/wadsrc/static/zscript/actors/attacks.zs +++ b/wadsrc/static/zscript/actors/attacks.zs @@ -250,7 +250,7 @@ extend class Actor else if (originator.player) { // A player always spawns a monster friendly to him - mo.bFriendly = true; + mo.A_SetFriendly(true); mo.SetFriendPlayer(originator.player); Actor attacker=originator.player.attacker; diff --git a/wadsrc/static/zscript/actors/doom/painelemental.zs b/wadsrc/static/zscript/actors/doom/painelemental.zs index 2442613031..75f90a02a8 100644 --- a/wadsrc/static/zscript/actors/doom/painelemental.zs +++ b/wadsrc/static/zscript/actors/doom/painelemental.zs @@ -218,7 +218,7 @@ extend class Actor { if (target && IsFriend(target)) { // And I thought you were my friend! - bFriendly = false; + A_SetFriendly(false); } A_NoBlocking(); A_PainShootSkull(spawntype, angle + 90); diff --git a/wadsrc/static/zscript/actors/strife/acolyte.zs b/wadsrc/static/zscript/actors/strife/acolyte.zs index c86a6e5d38..b982d84291 100644 --- a/wadsrc/static/zscript/actors/strife/acolyte.zs +++ b/wadsrc/static/zscript/actors/strife/acolyte.zs @@ -118,7 +118,7 @@ class Acolyte : StrifeHumanoid void A_BeShadowyFoe() { A_SetRenderStyle(HR_SHADOW, STYLE_Translucent); - bFriendly = false; + A_SetFriendly(false); } //============================================================================