diff options
| author | 2026-04-03 21:48:15 +0100 | |
|---|---|---|
| committer | 2026-04-04 01:37:54 +0100 | |
| commit | 3ddb31ea086155c551507357b77d83d5b57935c6 (patch) | |
| tree | d1dbf1f8648dd0c10b9f2304039b109bdc8b1e73 | |
| parent | 2ee93c3f46f8e948d2331eab46c95322a88874ee (diff) | |
| download | sst-3ddb31ea086155c551507357b77d83d5b57935c6.tar.gz sst-3ddb31ea086155c551507357b77d83d5b57935c6.zip | |
Clean up a couple of random things
| -rw-r--r-- | src/autojump.c | 2 | ||||
| -rw-r--r-- | src/demorec.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/autojump.c b/src/autojump.c index 48caf90..30dbcd1 100644 --- a/src/autojump.c +++ b/src/autojump.c @@ -111,7 +111,7 @@ INIT { // it's also necessary to do this extremely stupid callback nonsense! sst_autojump->base.flags |= CON_CHEAT; sv_cheats = con_findvar("sv_cheats"); - sst_autojump->cb = cheatcb; + sst_autojump->cb = &cheatcb; } return FEAT_OK; } diff --git a/src/demorec.c b/src/demorec.c index 7a2c798..c36164f 100644 --- a/src/demorec.c +++ b/src/demorec.c @@ -246,7 +246,6 @@ bool demorec_start(const char *name) { if (was) return false; // dumb but easy way to do this: call the record command callback. note: // this args object is very incomplete by enough to make the command work - // TODO(compat): will this be a problem for OE with the global argc/argv? orig_record_cb(2, (const char *[]){0, name}); if (!was && *recording) *demonum = 0; // same logic as in the hook EMIT_DemoRecordStarting(); |
