Skip to content
This repository was archived by the owner on Sep 24, 2023. It is now read-only.

Commit 91952b3

Browse files
committed
Minor cleanup
1 parent b6ed033 commit 91952b3

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

scripting/include/level_keyvalues.inc

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,6 @@
55

66
#include <more_adt>
77

8-
static stock KeyValues KeyValueBuffer() {
9-
static KeyValues s_KVBuffer;
10-
if (!s_KVBuffer) {
11-
s_KVBuffer = new KeyValues("");
12-
}
13-
return s_KVBuffer;
14-
}
15-
168
/**
179
* Wrapper for StringMultiMap that performs implicit string conversion.
1810
*/
@@ -38,7 +30,7 @@ methodmap LevelEntityKeyValues < StringMultiMap {
3830
public native int GetNum(const char[] key, int defaultValue = 0);
3931
public native void AddNum(const char[] key, int value);
4032

41-
public native float GetFloat(const char[] key, float flDefaultValue = 0);
33+
public native float GetFloat(const char[] key, float flDefaultValue = 0.0);
4234
public native void AddFloat(const char[] key, float value);
4335

4436
public native void GetVector(const char[] key, float vec[3],

0 commit comments

Comments
 (0)