mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +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:
|
||||
value.Float = fabs(value.Float);
|
||||
break;
|
||||
|
||||
default:
|
||||
// shouldn't happen
|
||||
|
|
Loading…
Reference in a new issue