Commit 833cf290 authored by Ecklory's avatar Ecklory


parent cafa9a30
......@@ -5833,7 +5833,7 @@ void EXT_FUNC SV_ActivateServer_internal(int runPhysics)
if (mapchangecfgfile.string && *mapchangecfgfile.string)
AlertMessage(at_console, "Executing map change config file\n");
Q_sprintf(szCommand, "exec %s\n", mapchangecfgfile.string);
Q_snprintf(szCommand, sizeof(szCommand), "exec %s\n", mapchangecfgfile.string);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment