From 3e435bd8e7a64148f7acc9c8bc2fe0493eb09cdf Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sat, 2 Jul 2022 21:59:10 +0100 Subject: Comply with, and complain about, Portal moderators --- src/autojump.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src') 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; } -- cgit v1.2.3