From 795131cd9fb504ca44010834093fa71660ae8fcc Mon Sep 17 00:00:00 2001 From: 9iky6 Date: Sat, 26 Jul 2014 21:18:40 +0600 Subject: [PATCH] Update statsx.sma --- plugins/cstrike/statsx.sma | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/cstrike/statsx.sma b/plugins/cstrike/statsx.sma index 0873b3d7..d3c31047 100755 --- a/plugins/cstrike/statsx.sma +++ b/plugins/cstrike/statsx.sma @@ -343,9 +343,9 @@ set_plugin_mode(id, sFlags[]) // Get config parameters. get_config_cvars() { - g_fFreezeTime = max(get_pcvar_float(g_pFreezeTime), 0.0); + g_fFreezeTime = floatmax(get_pcvar_float(g_pFreezeTime), 0.0); - g_fHUDDuration = max(get_pcvar_float(g_pHudDuration), 1.0); + g_fHUDDuration = floatmax(get_pcvar_float(g_pHudDuration), 1.0); g_fFreezeLimitTime = get_pcvar_float(g_pHudFreezeLimit) }