diff options
author | Michael Smith <mikesmiffy128@gmail.com> | 2022-04-26 17:23:51 +0100 |
---|---|---|
committer | Michael Smith <mikesmiffy128@gmail.com> | 2022-04-26 17:23:51 +0100 |
commit | 1aaedffd8c68614936c59d4681e6dc111cb32691 (patch) | |
tree | d215f1667d82a6a1cd417383900e2f0a5b89666f /src/fixes.c | |
parent | bdb4453a8fbe87247bfd6caf19a7d643144c0f84 (diff) |
Fix a couple of bits of convar min/max brokenness
It's amazing how long these things can go unnoticed.
Diffstat (limited to 'src/fixes.c')
-rw-r--r-- | src/fixes.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fixes.c b/src/fixes.c index e1b4c0a..ca5aaf0 100644 --- a/src/fixes.c +++ b/src/fixes.c @@ -94,6 +94,7 @@ static void l4d2specific(void) { if (v && !(v->parent->base.flags & CON_ARCHIVE)) { // not already fixed v->parent->base.flags = v->parent->base.flags & ~(CON_HIDDEN | CON_DEVONLY) | CON_ARCHIVE; + v->parent->hasmin = true; v->parent->minval = -1; v->parent->hasmax = true; v->parent->maxval = 0; } |