mirror of
https://github.com/albertodemichelis/squirrel.git
synced 2026-01-12 22:48:40 +01:00
Merge pull request #211 from rajkosto/master
Fix build when SQUSEDOUBLE is defined
This commit is contained in:
@ -671,7 +671,7 @@ bool SQVM::IsFalse(SQObjectPtr &o)
|
||||
#if !defined(SQUSEDOUBLE) || (defined(SQUSEDOUBLE) && defined(_SQ64))
|
||||
|| (_integer(o) == 0) ) //OT_NULL|OT_INTEGER|OT_BOOL
|
||||
#else
|
||||
|| (((type(o) != OT_FLOAT) && (_integer(o) == 0))) ) //OT_NULL|OT_INTEGER|OT_BOOL
|
||||
|| (((sq_type(o) != OT_FLOAT) && (_integer(o) == 0))) ) //OT_NULL|OT_INTEGER|OT_BOOL
|
||||
#endif
|
||||
{
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user