From 4db7a20f7ab1c4bdb631e97ed4c7f86038c4336e Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Thu, 18 Nov 2021 21:29:08 -0500 Subject: [PATCH] - apply clearscope to `ApplyDamageFactor` as well --- wadsrc/static/zscript/actors/actor.zs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wadsrc/static/zscript/actors/actor.zs b/wadsrc/static/zscript/actors/actor.zs index b47ee93655..3124a7bd07 100644 --- a/wadsrc/static/zscript/actors/actor.zs +++ b/wadsrc/static/zscript/actors/actor.zs @@ -684,7 +684,7 @@ class Actor : Thinker native native Actor, Actor SpawnPlayerMissile(class type, double angle = 1e37, double x = 0, double y = 0, double z = 0, out FTranslatedLineTarget pLineTarget = null, bool nofreeaim = false, bool noautoaim = false, int aimflags = 0); native void SpawnTeleportFog(Vector3 pos, bool beforeTele, bool setTarget); native Actor RoughMonsterSearch(int distance, bool onlyseekable = false, bool frontonly = false, double fov = 0); - native int ApplyDamageFactor(Name damagetype, int damage); + native clearscope int ApplyDamageFactor(Name damagetype, int damage); native int GetModifiedDamage(Name damagetype, int damage, bool passive, Actor inflictor = null, Actor source = null, int flags = 0); native bool CheckBossDeath(); native bool CheckFov(Actor target, double fov);