mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
- fixed: Clamp was initialized with incorrect values.
This commit is contained in:
parent
5e8c819a33
commit
387287008c
1 changed files with 1 additions and 1 deletions
|
@ -6164,7 +6164,7 @@ FxExpression *FxFunctionCall::Resolve(FCompileContext& ctx)
|
|||
pass[1] = (*ArgList)[1];
|
||||
pass[0] = new FxMinMax(pass, NAME_Max, ScriptPosition);
|
||||
pass[1] = (*ArgList)[2];
|
||||
func = new FxMinMax(*ArgList, NAME_Min, ScriptPosition);
|
||||
func = new FxMinMax(pass, NAME_Min, ScriptPosition);
|
||||
(*ArgList)[0] = (*ArgList)[1] = (*ArgList)[2] = nullptr;
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue