Limit g_balance_vore_swallow_limit between 1 and 9. This fixes some small bugs, such...
[voretournament/voretournament.git] / data / qcsrc / server / miscfunctions.qc
index 30755d2..3a053c1 100644 (file)
@@ -1016,6 +1016,7 @@ void readlevelcvars(void)
        g_norecoil = cvar("g_norecoil");\r
        g_vampire = cvar("g_vampire");\r
        g_bloodloss = cvar("g_bloodloss");\r
+       g_balance_vore_swallow_limit = bound(1, cvar("g_balance_vore_swallow_limit"), 9); // may only range between 1 and 9\r
        sv_maxidle = cvar("sv_maxidle");\r
        sv_maxidle_spectatorsareidle = cvar("sv_maxidle_spectatorsareidle");\r
        sv_pogostick = cvar("sv_pogostick");\r