From 98a9729da20d8f8c82844cf92e647691764091e7 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Thu, 20 May 2021 12:01:52 +0300 Subject: [PATCH] - fixed return type of Actor.GetCVarString() https://forum.zdoom.org/viewtopic.php?t=72334 --- wadsrc/static/zscript/actors/actor.zs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wadsrc/static/zscript/actors/actor.zs b/wadsrc/static/zscript/actors/actor.zs index 0ce7ce09c..d50d70285 100644 --- a/wadsrc/static/zscript/actors/actor.zs +++ b/wadsrc/static/zscript/actors/actor.zs @@ -821,7 +821,7 @@ class Actor : Thinker native native clearscope int GetSpawnHealth() const; native double GetCrouchFactor(int ptr = AAPTR_PLAYER1); native double GetCVar(string cvar); - native double GetCVarString(string cvar); + native string GetCVarString(string cvar); native int GetPlayerInput(int inputnum, int ptr = AAPTR_DEFAULT); native int CountProximity(class classname, double distance, int flags = 0, int ptr = AAPTR_DEFAULT); native int GetMissileDamage(int mask, int add, int ptr = AAPTR_DEFAULT);