mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-19 16:11:23 +00:00
- removed incorrect assert.
This may fail if a narrow data type is negated.
This commit is contained in:
parent
124d71a7be
commit
2d10ad9d2d
1 changed files with 1 additions and 1 deletions
|
@ -1850,7 +1850,7 @@ FxExpression *FxMinusSign::Resolve(FCompileContext& ctx)
|
|||
|
||||
ExpEmit FxMinusSign::Emit(VMFunctionBuilder *build)
|
||||
{
|
||||
assert(ValueType == Operand->ValueType);
|
||||
//assert(ValueType == Operand->ValueType);
|
||||
ExpEmit from = Operand->Emit(build);
|
||||
ExpEmit to;
|
||||
assert(from.Konst == 0);
|
||||
|
|
Loading…
Reference in a new issue