diff --git a/wadsrc/static/zscript/actor.txt b/wadsrc/static/zscript/actor.txt index b007316fa..31d91c668 100644 --- a/wadsrc/static/zscript/actor.txt +++ b/wadsrc/static/zscript/actor.txt @@ -609,9 +609,9 @@ class Actor : Thinker native action native void SetCamera(Actor cam, bool revert = false); // DECORATE compatible functions - native int CountInv(class itemtype, int ptr_select = AAPTR_DEFAULT); - native double GetDistance(bool checkz, int ptr = AAPTR_TARGET); - native double GetAngle(int flags, int ptr = AAPTR_TARGET); + native clearscope int CountInv(class itemtype, int ptr_select = AAPTR_DEFAULT) const; + native double GetDistance(bool checkz, int ptr = AAPTR_TARGET) const; + native double GetAngle(int flags, int ptr = AAPTR_TARGET) const; native double GetZAt(double px = 0, double py = 0, double angle = 0, int flags = 0, int pick_pointer = AAPTR_DEFAULT); native clearscope int GetSpawnHealth() const; native double GetCrouchFactor(int ptr = AAPTR_PLAYER1);