mirror of https://github.com/ZDoom/qzdoom.git
Add a needed break in FxAbs::Resolve()
- Fixed: FxAbs could not resolve floating point constants because it fell through to the error case.
This commit is contained in:
parent
c3227729e7
commit
a063b48d7a
|
@ -1576,6 +1576,7 @@ FxExpression *FxAbs::Resolve(FCompileContext &ctx)
|
||||||
|
|
||||||
case VAL_Float:
|
case VAL_Float:
|
||||||
value.Float = fabs(value.Float);
|
value.Float = fabs(value.Float);
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
// shouldn't happen
|
// shouldn't happen
|
||||||
|
|
Loading…
Reference in New Issue