mirror of https://github.com/ZDoom/gzdoom.git
- changed type of Nop expression to void
Control flow statements with constant condition no longer cause misleading fatal errors in ZScript https://forum.zdoom.org/viewtopic.php?t=63566
This commit is contained in:
parent
13a3f1aa6e
commit
78c0b7f230
|
@ -2106,7 +2106,7 @@ public:
|
||||||
: FxExpression(EFX_Nop, p)
|
: FxExpression(EFX_Nop, p)
|
||||||
{
|
{
|
||||||
isresolved = true;
|
isresolved = true;
|
||||||
ValueType = TypeError;
|
ValueType = TypeVoid;
|
||||||
}
|
}
|
||||||
ExpEmit Emit(VMFunctionBuilder *build)
|
ExpEmit Emit(VMFunctionBuilder *build)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue