From 485975fd99e3b20720b882aaf8d6c323cca2f304 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 16 Sep 2015 00:27:36 -0700 Subject: [PATCH] Fix temporary parameter list being static. --- core/smn_console.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/smn_console.cpp b/core/smn_console.cpp index 27964502..5c523d49 100644 --- a/core/smn_console.cpp +++ b/core/smn_console.cpp @@ -1247,7 +1247,7 @@ static cell_t ConVar_ReplicateToClient(IPluginContext *pContext, const cell_t *p { // Old version is (client, handle, value). // New version is (handle, client, value). - static cell_t new_params[4] = { + cell_t new_params[4] = { 3, params[2], params[1],