summaryrefslogtreecommitdiffstats
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)
{
if (user_random_seed == -1)
/* Use the rockbox tick as seed value */
- return ((int)rb->current_tick) & 0x7fff;
+ return ((int)*rb->current_tick) & 0x7fff;
else return user_random_seed;
}