diff options
Diffstat (limited to 'code/botlib/l_script.h')
-rw-r--r-- | code/botlib/l_script.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/code/botlib/l_script.h b/code/botlib/l_script.h index 01cc35c..7fe4ac9 100644 --- a/code/botlib/l_script.h +++ b/code/botlib/l_script.h @@ -161,7 +161,7 @@ typedef struct token_s int subtype; //last read token sub type #ifdef NUMBERVALUE unsigned long int intvalue; //integer value - long double floatvalue; //floating point value + double floatvalue; //floating point value #endif //NUMBERVALUE char *whitespace_p; //start of white space before token char *endwhitespace_p; //start of white space before token @@ -218,7 +218,7 @@ void StripSingleQuotes(char *string); //read a possible signed integer signed long int ReadSignedInt(script_t *script); //read a possible signed floating point number -long double ReadSignedFloat(script_t *script); +double ReadSignedFloat(script_t *script); //set an array with punctuations, NULL restores default C/C++ set void SetScriptPunctuations(script_t *script, punctuation_t *p); //set script flags |