Skip to content

Commit

Permalink
- make zs Actor.GetReplacement and Actor.GetReplacee clearscope
Browse files Browse the repository at this point in the history
  • Loading branch information
madame-rachelle committed Oct 5, 2023
1 parent 3e7de9a commit 29368f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wadsrc/static/zscript/actors/actor.zs
Original file line number Diff line number Diff line change
Expand Up @@ -645,8 +645,8 @@ class Actor : Thinker native
virtual void PostTeleport( Vector3 destpos, double destangle, int flags ) {}

native virtual bool OkayToSwitchTarget(Actor other);
native static class<Actor> GetReplacement(class<Actor> cls);
native static class<Actor> GetReplacee(class<Actor> cls);
native clearscope static class<Actor> GetReplacement(class<Actor> cls);
native clearscope static class<Actor> GetReplacee(class<Actor> cls);
native static int GetSpriteIndex(name sprt);
native clearscope static double GetDefaultSpeed(class<Actor> type);
native static class<Actor> GetSpawnableType(int spawnnum);
Expand Down

0 comments on commit 29368f0

Please sign in to comment.