mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 05:51:20 +00:00
- 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:
parent
0b5b919352
commit
5bf2a26b82
1 changed files with 0 additions and 1 deletions
|
@ -5261,7 +5261,6 @@ FxExpression *FxMinMax::Resolve(FCompileContext &ctx)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ExpVal value = static_cast<FxConstant *>(choices[j])->GetValue();
|
ExpVal value = static_cast<FxConstant *>(choices[j])->GetValue();
|
||||||
assert(value.Type == ValueType);
|
|
||||||
if (Type == NAME_Min)
|
if (Type == NAME_Min)
|
||||||
{
|
{
|
||||||
if (value.Type->GetRegType() == REGT_FLOAT)
|
if (value.Type->GetRegType() == REGT_FLOAT)
|
||||||
|
|
Loading…
Reference in a new issue