mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- 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
1 changed files with 1 additions and 1 deletions
|
@ -2106,7 +2106,7 @@ public:
|
|||
: FxExpression(EFX_Nop, p)
|
||||
{
|
||||
isresolved = true;
|
||||
ValueType = TypeError;
|
||||
ValueType = TypeVoid;
|
||||
}
|
||||
ExpEmit Emit(VMFunctionBuilder *build)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue