summaryrefslogtreecommitdiff
path: root/apps/plugins/frotz/dumb_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/frotz/dumb_init.c')
-rw-r--r--apps/plugins/frotz/dumb_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/frotz/dumb_init.c b/apps/plugins/frotz/dumb_init.c
index ea08447c0c..e4ab3ad824 100644
--- a/apps/plugins/frotz/dumb_init.c
+++ b/apps/plugins/frotz/dumb_init.c
@@ -53,7 +53,7 @@ int os_random_seed (void)
53{ 53{
54 if (user_random_seed == -1) 54 if (user_random_seed == -1)
55 /* Use the rockbox tick as seed value */ 55 /* Use the rockbox tick as seed value */
56 return ((int)rb->current_tick) & 0x7fff; 56 return ((int)*rb->current_tick) & 0x7fff;
57 else return user_random_seed; 57 else return user_random_seed;
58} 58}
59 59