summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorMichael Smith <mikesmiffy128@gmail.com>2022-07-02 21:59:10 +0100
committerMichael Smith <mikesmiffy128@gmail.com>2022-07-23 18:51:28 +0100
commit3e435bd8e7a64148f7acc9c8bc2fe0493eb09cdf (patch)
treedf79e4c5973b2d90c5cbbd532694a2d01f8e5c93 /src
parent5b8d37094a38aff1b2669056a4011a42450fd9c5 (diff)
Comply with, and complain about, Portal moderators
Diffstat (limited to 'src')
-rw-r--r--src/autojump.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/autojump.c b/src/autojump.c
index e0b6a9f..33b31b8 100644
--- a/src/autojump.c
+++ b/src/autojump.c
@@ -20,6 +20,7 @@
#include "engineapi.h"
#include "errmsg.h"
#include "gamedata.h"
+#include "gametype.h"
#include "intdefs.h"
#include "hook.h"
#include "mem.h"
@@ -97,6 +98,16 @@ bool autojump_init(void) {
vtidx_CheckJumpButton, (void *)&hookcl);
sst_autojump->base.flags &= ~CON_HIDDEN;
+ if (GAMETYPE_MATCHES(Portal1)) {
+ // this is a stupid, stupid policy that doesn't make any sense, but I've
+ // tried arguing about it already and with how long it takes to convince
+ // the Portal guys of anything I'd rather concede for now and maybe try
+ // and revert this later if anyone eventually decides to be sensible.
+ // the alternative is nobody's allowed to use SST in runs - except of
+ // course the couple of people who just roll the dice anyway, and
+ // thusfar haven't actually been told to stop. yeah, whatever.
+ sst_autojump->base.flags |= CON_CHEAT;
+ }
return true;
}