mirror of
https://github.com/diamante0018/PP-GSC.git
synced 2025-08-30 04:53:18 +00:00
fix utility.gsh
This commit is contained in:
@@ -58,9 +58,7 @@
|
|||||||
#error CBUF_ADD_TEXT is not defined
|
#error CBUF_ADD_TEXT is not defined
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(IW4MP)
|
#if defined(IW4MP) || defined(IW4SP) || defined(IW5) || defined(IW5x) || defined(IW6x) || defined(S1x)
|
||||||
#define FLOAT(num) castFloat( num )
|
|
||||||
#elif defined(IW4SP) || defined(IW5) || defined(IW5x) || defined(IW6x) || defined(S1x)
|
|
||||||
#define FLOAT(num) float( num )
|
#define FLOAT(num) float( num )
|
||||||
#else
|
#else
|
||||||
#define FLOAT(num) getDvarFloat( TEMP_DVAR, 0.0 )
|
#define FLOAT(num) getDvarFloat( TEMP_DVAR, 0.0 )
|
||||||
|
Reference in New Issue
Block a user