diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/rkt/rkt_scener.c | 2 | ||||
-rw-r--r-- | src/modules/rtv/rtv.c | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/modules/rkt/rkt_scener.c b/src/modules/rkt/rkt_scener.c index 446b998..11be927 100644 --- a/src/modules/rkt/rkt_scener.c +++ b/src/modules/rkt/rkt_scener.c @@ -644,7 +644,7 @@ static int rkt_scener_randomize_scene_settings(rkt_context_t *ctxt, unsigned sce return -ENOMEM; /* FIXME: seed reproducibility needs to be sorted out, maybe move seed into settings */ - til_module_setup_randomize(module, + til_module_settings_randomize(module, new_settings, rand_r(&ctxt->til_module_context.seed), &setup, diff --git a/src/modules/rtv/rtv.c b/src/modules/rtv/rtv.c index 14bc09b..36e21d4 100644 --- a/src/modules/rtv/rtv.c +++ b/src/modules/rtv/rtv.c @@ -201,7 +201,11 @@ static void setup_next_channel(rtv_context_t *ctxt, unsigned ticks) "channel", ctxt->channel->module->name /* XXX: this should come from the channel settings */); - (void) til_module_setup_randomize(ctxt->channel->module, settings, rand_r(&ctxt->til_module_context.seed), &ctxt->channel->module_setup, &settings_as_arg); + (void) til_module_settings_randomize(ctxt->channel->module, + settings, + rand_r(&ctxt->til_module_context.seed), + &ctxt->channel->module_setup, + &settings_as_arg); caption = txt_newf("Title: %s%s%s\nDescription: %s%s%s", ctxt->channel->module->name, ctxt->channel->module->author ? "\nAuthor: " : "", |