Fix C4Value::NumericConversion

floating-point
Julius Michaelis 2012-05-01 12:58:51 +02:00
parent bd2a4b0059
commit d0efce7c2b
1 changed files with 1 additions and 1 deletions

View File

@ -330,7 +330,7 @@ public:
inline void NumericConversion(C4V_Type vToType)
{
if(Type == vToType) return;
if(Type != C4V_Nil && Type != C4V_Int && Type != C4V_Float && Type != C4V_Nil) return;
if(Type != C4V_Int && Type != C4V_Float && Type != C4V_Bool) return;
switch(vToType)
{
case C4V_Bool: SetBool(getBool()); return;