mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-03 17:32:40 +00:00
- fixed incorrect number of returns in SetRandomSeed.
This commit is contained in:
parent
5185ebbc28
commit
91680a1e8d
1 changed files with 1 additions and 1 deletions
|
@ -5975,7 +5975,7 @@ ExpEmit FxRandomSeed::Emit(VMFunctionBuilder *build)
|
||||||
|
|
||||||
build->Emit(OP_PARAM, 0, REGT_POINTER | REGT_KONST, build->GetConstantAddress(rng));
|
build->Emit(OP_PARAM, 0, REGT_POINTER | REGT_KONST, build->GetConstantAddress(rng));
|
||||||
EmitParameter(build, seed, ScriptPosition);
|
EmitParameter(build, seed, ScriptPosition);
|
||||||
build->Emit(opcode, build->GetConstantAddress(callfunc), 2, 1);
|
build->Emit(opcode, build->GetConstantAddress(callfunc), 2, 0);
|
||||||
|
|
||||||
ExpEmit call;
|
ExpEmit call;
|
||||||
if (EmitTail) call.Final = true;
|
if (EmitTail) call.Final = true;
|
||||||
|
|
Loading…
Reference in a new issue