From 29368f0f4e182580c60cb5dbee44fe0f0a001159 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Thu, 5 Oct 2023 12:29:20 -0400 Subject: [PATCH] - make zs Actor.GetReplacement and Actor.GetReplacee clearscope --- wadsrc/static/zscript/actors/actor.zs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wadsrc/static/zscript/actors/actor.zs b/wadsrc/static/zscript/actors/actor.zs index 17949c18ff4..52085804cbb 100644 --- a/wadsrc/static/zscript/actors/actor.zs +++ b/wadsrc/static/zscript/actors/actor.zs @@ -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 GetReplacement(class cls); - native static class GetReplacee(class cls); + native clearscope static class GetReplacement(class cls); + native clearscope static class GetReplacee(class cls); native static int GetSpriteIndex(name sprt); native clearscope static double GetDefaultSpeed(class type); native static class GetSpawnableType(int spawnnum);