From 1aaedffd8c68614936c59d4681e6dc111cb32691 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Tue, 26 Apr 2022 17:23:51 +0100 Subject: Fix a couple of bits of convar min/max brokenness It's amazing how long these things can go unnoticed. --- src/fixes.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/fixes.c') 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; } -- cgit v1.2.3-54-g00ecf