diff options
author | Michael Smith <mikesmiffy128@gmail.com> | 2022-07-02 21:59:10 +0100 |
---|---|---|
committer | Michael Smith <mikesmiffy128@gmail.com> | 2022-07-23 18:51:28 +0100 |
commit | 3e435bd8e7a64148f7acc9c8bc2fe0493eb09cdf (patch) | |
tree | df79e4c5973b2d90c5cbbd532694a2d01f8e5c93 /src/autojump.c | |
parent | 5b8d37094a38aff1b2669056a4011a42450fd9c5 (diff) |
Comply with, and complain about, Portal moderators
Diffstat (limited to 'src/autojump.c')
-rw-r--r-- | src/autojump.c | 11 |
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; } |