Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request #12 from gonengazit/master
Browse files Browse the repository at this point in the history
set new random seed on reset
  • Loading branch information
lemon32767 authored Nov 23, 2021
2 parents 4d94996 + c37baff commit baa306d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdl12main.c
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ static void mainLoop(void) {
OSDset("reset");
paused = 0;
Celeste_P8_load_state(initial_game_state);
Celeste_P8_set_rndseed((unsigned)(time(NULL) + SDL_GetTicks()));
Mix_HaltChannel(-1);
Mix_HaltMusic();
Celeste_P8_init();
Expand Down

2 comments on commit baa306d

@gonengazit
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any chance to get new binaries for this fix? we have some players that wanna submit runs on 3ds, and this fix would be needed to allow that

@lemon32767
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, no problem

Please sign in to comment.