mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +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