From 6ca602df73e2bcce477f73a6515513cec0b5b29f Mon Sep 17 00:00:00 2001 From: olivia Date: Thu, 10 Jul 2025 09:24:13 -0700 Subject: [PATCH] shavit-core.sp - syntax --- addons/sourcemod/scripting/shavit-core.sp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/sourcemod/scripting/shavit-core.sp b/addons/sourcemod/scripting/shavit-core.sp index 3b995f9f..ca6a84cd 100644 --- a/addons/sourcemod/scripting/shavit-core.sp +++ b/addons/sourcemod/scripting/shavit-core.sp @@ -2193,8 +2193,8 @@ public int SemiNative_PrintToChat(int client, int formatParam) { //code to split string, need to find first space before message limit //TODO: handle if there is a color code applied at iCut that != sText and apply it to the start of sBuffer2 - char sBuffer1 = new char[maxLen+1]; - char sBuffer2 = new char[maxLen+1]; + char[] sBuffer1 = new char[maxLen+1]; + char[] sBuffer2 = new char[maxLen+1]; strcopy(sBuffer1, sizeof(sBuffer1), sBuffer); int iCut = FindCharInString(sBuffer1, " ", true);