summaryrefslogtreecommitdiff
path: root/src/time_events.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/time_events.c')
-rw-r--r--src/time_events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/time_events.c b/src/time_events.c
index bd51f0c2d..3f56d3ab5 100644
--- a/src/time_events.c
+++ b/src/time_events.c
@@ -33,7 +33,7 @@ void UpdateMirageRnd(u16 days)
s32 rnd = GetMirageRnd();
while (days)
{
- rnd = 1103515245 * rnd + 12345;
+ rnd = ISO_RANDOMIZE2(rnd);
days--;
}
SetMirageRnd(rnd);