diff options
author | 2022-05-15 23:05:41 +0100 | |
---|---|---|
committer | 2022-05-15 23:05:41 +0100 | |
commit | 9009f75bf5fd33e13abae5762d31968b39f233c3 (patch) | |
tree | 99a65caf9b2199ad4a8d7bbc539867bfea254412 /src/gametype.h | |
parent | 831862bec84dde31a0568ec8a2f2b0170e18a973 (diff) | |
download | sst-9009f75bf5fd33e13abae5762d31968b39f233c3.tar.gz sst-9009f75bf5fd33e13abae5762d31968b39f233c3.zip |
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.
Diffstat (limited to 'src/gametype.h')
-rw-r--r-- | src/gametype.h | 1 |
1 files changed, 1 insertions, 0 deletions
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)) |