- removed bogus assert from FxMinMax.

This would also trigger on signed/unsigned mismatches which it is not supposed to do.
This commit is contained in:
Christoph Oelckers 2021-05-17 12:48:22 +02:00
parent 0b5b919352
commit 5bf2a26b82

View file

@ -5261,7 +5261,6 @@ FxExpression *FxMinMax::Resolve(FCompileContext &ctx)
else
{
ExpVal value = static_cast<FxConstant *>(choices[j])->GetValue();
assert(value.Type == ValueType);
if (Type == NAME_Min)
{
if (value.Type->GetRegType() == REGT_FLOAT)