Merge branch 'master' of git.magicalgirl.moe:STJr/SRB2Internal

This commit is contained in:
MascaraSnake 2019-12-07 00:12:10 +01:00
commit 0768032a43
1 changed files with 1 additions and 1 deletions

View File

@ -1593,7 +1593,7 @@ static void CV_SetValueMaybeStealth(consvar_t *var, INT32 value, boolean stealth
if ((value < 0) || (value >= numskins))
sprintf(val, "None");
else
sprintf(val, "%s", skins[value].name);
strncpy(val, skins[value].name, sizeof val);
}
else
sprintf(val, "%d", value);