Skip to content

Commit

Permalink
replace rng seed generation
Browse files Browse the repository at this point in the history
  • Loading branch information
phylter-qw authored Jun 5, 2024
1 parent a0f95a2 commit 35a3388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pr2_exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ void PR2_InitProg(void)
PR2_FS_Restart();

gamedata.APIversion = 0;
gamedata_ptr = (intptr_t) VM_Call(sv_vm, 2, GAME_INIT, (int)(sv.time * 1000), (int)(Sys_DoubleTime() * 100000), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
gamedata_ptr = (intptr_t) VM_Call(sv_vm, 2, GAME_INIT, (int)(sv.time * 1000), (int)time(NULL), 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
if (!gamedata_ptr) {
SV_Error("PR2_InitProg: gamedata == NULL");
}
Expand Down

0 comments on commit 35a3388

Please sign in to comment.