Commit c6430f5e authored by Ecklory's avatar Ecklory

Merge branch 'backport' into 'general'


See merge request ck/game-dev/rehldse!10
parents cafa9a30 833cf290
......@@ -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