summaryrefslogtreecommitdiffhomepage
path: root/src/fixes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fixes.c')
-rw-r--r--src/fixes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fixes.c b/src/fixes.c
index 8d5bb77..79f4e3d 100644
--- a/src/fixes.c
+++ b/src/fixes.c
@@ -81,13 +81,13 @@ static void generalfixes(void) {
struct con_var *v = con_findvar("fps_max");
if (GAMETYPE_MATCHES(L4Dx)) {
// for L4D games, generally changing anything above normal limits is
- // banned, but externally capping FPS will always be possible so we
+ // disallowed, but externally capping FPS will always be possible so we
// might as well allow lowering it ingame for convenience.
if (v->parent->base.flags & (CON_HIDDEN | CON_DEVONLY)) {
v->parent->base.flags &= ~(CON_HIDDEN | CON_DEVONLY);
v->parent->hasmax = true; v->parent->maxval = 300;
}
- else {
+ else if (!v->parent->hasmax) {
// in TLS, this was made changeable, but still limit to 1000 to
// prevent breaking the engine
v->parent->hasmax = true; v->parent->maxval = 1000;