From 9009f75bf5fd33e13abae5762d31968b39f233c3 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sun, 15 May 2022 23:05:41 +0100 Subject: Fix GetEngineBuildNumber and entity property stuff I still haven't bothered to flesh out all the possible indices for GetEngineBuildNumber but we're back to being able to use it to detect The Last Stand (as a result of some old version testing Aciidz did - thanks again!). This means we can do away with the terrible map file- based hotfix. Also, turns out sst_l4d_testwarp doesn't work if the plugin gets loaded early via VDF because certain SendTable offsets start out negated, so we work around that too now. --- src/gametype.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gametype.h') diff --git a/src/gametype.h b/src/gametype.h index c825ee6..2464000 100644 --- a/src/gametype.h +++ b/src/gametype.h @@ -59,6 +59,7 @@ extern u64 _gametype_tag; #define _gametype_tag_L4Dbased (_gametype_tag_L4Dx | _gametype_tag_Portal2) #define _gametype_tag_OrangeBoxbased \ (_gametype_tag_OrangeBox | _gametype_tag_2013) +#define _gametype_tag_Portal (_gametype_tag_Portal1 | _gametype_tag_Portal2) #define GAMETYPE_MATCHES(x) !!(_gametype_tag & (_gametype_tag_##x)) -- cgit v1.2.3