mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue