summaryrefslogtreecommitdiffhomepage
path: root/src/sst.c
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2022-07-20 18:12:00 +0100
committerMichael Smith <mikesmiffy128@gmail.com>2022-07-23 19:07:03 +0100
commit4721f53cb21dfa18dc787581fac0d2a25f0a9690 (patch)
tree1a79f1c5da25be0832ca986c97fb6455299ffffd /src/sst.c
parentb53b780e1b14e174204457765b4a0a72b6d2924f (diff)
Split custom demo data into its own file/feature
Copyright note: the stuff Bill wrote is all still in the other file.
Diffstat (limited to 'src/sst.c')
-rw-r--r--src/sst.c6
1 files changed, 3 insertions, 3 deletions
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();