Skip to content

Commit

Permalink
- apply clearscope to ApplyDamageFactor as well
Browse files Browse the repository at this point in the history
  • Loading branch information
madame-rachelle committed Nov 19, 2021
1 parent 01b825b commit 4db7a20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wadsrc/static/zscript/actors/actor.zs
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ class Actor : Thinker native
native Actor, Actor SpawnPlayerMissile(class<Actor> 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);
Expand Down

0 comments on commit 4db7a20

Please sign in to comment.