From 2f29b075b29762e8a3ea264279924cb7e7496950 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 7 Mar 2017 22:55:15 +0100 Subject: [PATCH] - made CountInv clearscope and const. --- wadsrc/static/zscript/actor.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);