- to prevent further occurences of ValueType == 0 being misinterpreted, change it to signify unknown value type and ensure that any real type is non-zero.

This commit is contained in:
Christoph Oelckers 2016-02-10 17:11:50 +01:00
parent 85a3cd984d
commit d18a839836
2 changed files with 2 additions and 0 deletions

View File

@ -195,6 +195,7 @@ protected:
{
isresolved = false;
ScriptPosition = pos;
ValueType = VAL_Unresolved;
}
public:
virtual ~FxExpression() {}

View File

@ -8,6 +8,7 @@
enum ExpValType
{
VAL_Unresolved, // type not yet known
VAL_Int, // integer number
VAL_Float, // floating point number
VAL_Unknown, // nothing