From ed63b02d6f0dcb4333a24f3f97c7357afba134ec Mon Sep 17 00:00:00 2001 From: Asher Baker Date: Wed, 7 Sep 2016 12:11:40 +0100 Subject: [PATCH] Hopefully avoid suspected MSVC compiler failure --- extension/extension.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/extension/extension.cpp b/extension/extension.cpp index 292dc23..b9bb2d7 100644 --- a/extension/extension.cpp +++ b/extension/extension.cpp @@ -566,9 +566,8 @@ void Accelerator::OnCoreMapStart(edict_t *pEdictList, int edictCount, int client // This is horrible, but I'm busy and this is // the first thing I thought of that would work. - steamInf[0] = '\0'; unsigned source = 0; - strcat(steamInf, "\nSteam_"); + strcpy(steamInf, "\nSteam_"); unsigned target = strlen(steamInf); while (true) { if (steamInfTemp[source] == '\0') {