- fixed return type of Actor.GetCVarString()

https://forum.zdoom.org/viewtopic.php?t=72334
This commit is contained in:
alexey.lysiuk 2021-05-20 12:01:52 +03:00
parent bc5d042505
commit 98a9729da2

View file

@ -821,7 +821,7 @@ class Actor : Thinker native
native clearscope int GetSpawnHealth() const; native clearscope int GetSpawnHealth() const;
native double GetCrouchFactor(int ptr = AAPTR_PLAYER1); native double GetCrouchFactor(int ptr = AAPTR_PLAYER1);
native double GetCVar(string cvar); 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 GetPlayerInput(int inputnum, int ptr = AAPTR_DEFAULT);
native int CountProximity(class<Actor> classname, double distance, int flags = 0, int ptr = AAPTR_DEFAULT); native int CountProximity(class<Actor> classname, double distance, int flags = 0, int ptr = AAPTR_DEFAULT);
native int GetMissileDamage(int mask, int add, int ptr = AAPTR_DEFAULT); native int GetMissileDamage(int mask, int add, int ptr = AAPTR_DEFAULT);