From 4721f53cb21dfa18dc787581fac0d2a25f0a9690 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Wed, 20 Jul 2022 18:12:00 +0100 Subject: Split custom demo data into its own file/feature Copyright note: the stuff Bill wrote is all still in the other file. --- src/sst.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/sst.c') diff --git a/src/sst.c b/src/sst.c index 7246e89..4182b09 100644 --- a/src/sst.c +++ b/src/sst.c @@ -26,6 +26,7 @@ #include "alias.h" #include "autojump.h" #include "con_.h" +#include "democustom.h" #include "demorec.h" #include "engineapi.h" #include "errmsg.h" @@ -209,11 +210,10 @@ static const char *updatenotes = "\ static void do_featureinit(void) { bool has_bind = bind_init(); if (has_bind) has_ac = ac_init(); - bool has_alias = alias_init(); + alias_init(); has_autojump = autojump_init(); has_demorec = demorec_init(); - // not enabling demorec_custom yet - kind of incomplete and currently unused - //if (has_demorec) demorec_custom_init(); + if (has_demorec) democustom_init(); bool has_ent = ent_init(); has_fov = fov_init(has_ent); if (has_ent) l4dwarp_init(); -- cgit v1.2.3