- updated VM from GZDoom.

Just to be up to date.
This commit is contained in:
Christoph Oelckers 2020-09-27 10:47:11 +02:00
parent 0314cdec55
commit cb49bcb96d
9 changed files with 60 additions and 9 deletions

View file

@ -4282,13 +4282,13 @@ FxExpression *FxBinaryLogical::Resolve(FCompileContext& ctx)
{
if (b_left==0 || b_right==0)
{
FxExpression *x = new FxConstant(true, ScriptPosition);
FxExpression *x = new FxConstant(false, ScriptPosition);
delete this;
return x;
}
else if (b_left==1 && b_right==1)
{
FxExpression *x = new FxConstant(false, ScriptPosition);
FxExpression *x = new FxConstant(true, ScriptPosition);
delete this;
return x;
}