Skip to content

Commit

Permalink
fix random seed (#77)
Browse files Browse the repository at this point in the history
Co-authored-by: music <[email protected]>
  • Loading branch information
mikeyford and music authored Jan 6, 2025
1 parent eb834b9 commit 6d9c2ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/random.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "random.h"

void random_seed(random_state_t *r, u32 seed) {
r->z = 12345;
r->z = ~seed;
r->w = seed;
}

Expand Down

0 comments on commit 6d9c2ca

Please sign in to comment.