mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- Fixed FxPow::Resolve not specifying the ValueType
This commit is contained in:
parent
d7164ba4e1
commit
cfc1bfd1e2
1 changed files with 1 additions and 0 deletions
|
@ -3302,6 +3302,7 @@ FxExpression *FxPow::Resolve(FCompileContext& ctx)
|
|||
right = (new FxFloatCast(right))->Resolve(ctx);
|
||||
ABORT(right);
|
||||
}
|
||||
ValueType = TypeFloat64;
|
||||
if (left->isConstant() && right->isConstant())
|
||||
{
|
||||
double v1 = static_cast<FxConstant *>(left)->GetValue().GetFloat();
|
||||
|
|
Loading…
Reference in a new issue