diff options
Diffstat (limited to 'src/fixes.c')
-rw-r--r-- | src/fixes.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fixes.c b/src/fixes.c index 86e2f17..ab73524 100644 --- a/src/fixes.c +++ b/src/fixes.c @@ -91,8 +91,9 @@ static void generalfixes(void) { // prevent breaking the engine v->parent->hasmax = true; v->parent->maxval = 1000; } - // also show the lower limit in help. engine should enforce anyway + // also show the lower limit in help, and prevent 0 (which is unlimited) v->parent->hasmin = true; v->parent->minval = 30; + con_setvarf(v, con_getvarf(v)); // hack: reapply limit if we loaded late } } |