mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 04:51:19 +00:00
- 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:
parent
85a3cd984d
commit
d18a839836
2 changed files with 2 additions and 0 deletions
|
@ -195,6 +195,7 @@ protected:
|
|||
{
|
||||
isresolved = false;
|
||||
ScriptPosition = pos;
|
||||
ValueType = VAL_Unresolved;
|
||||
}
|
||||
public:
|
||||
virtual ~FxExpression() {}
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
|
||||
enum ExpValType
|
||||
{
|
||||
VAL_Unresolved, // type not yet known
|
||||
VAL_Int, // integer number
|
||||
VAL_Float, // floating point number
|
||||
VAL_Unknown, // nothing
|
||||
|
|
Loading…
Reference in a new issue