From ee6285c79d7a9b8be7472e0b824e0f23a20940be Mon Sep 17 00:00:00 2001 From: Freeman-AM Date: Sat, 11 Oct 2014 14:10:36 +0200 Subject: [PATCH] Statsx: Replace len hardcoded contents by sizeof --- plugins/cstrike/statsx.sma | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/cstrike/statsx.sma b/plugins/cstrike/statsx.sma index d3603a6d..62c66a0e 100755 --- a/plugins/cstrike/statsx.sma +++ b/plugins/cstrike/statsx.sma @@ -1347,7 +1347,7 @@ public eventSpawn(id) args[0] = id if (g_iPluginMode & MODE_HUD_DELAY) - set_task(0.1, "delay_spawn", 200 + id, args, 1) + set_task(0.1, "delay_spawn", 200 + id, args, sizeof(args)) else delay_spawn(args)