Add "append" as allowed command

This commit is contained in:
smallmodel 2025-01-22 21:35:09 +01:00
parent 187079842f
commit 08e5208835
No known key found for this signature in database
GPG key ID: 9F2D623CEDF08512

View file

@ -654,8 +654,14 @@ static qboolean CG_IsStatementFiltered(char *cmd)
}
if (!Q_stricmp(com_token, "set") || !Q_stricmp(com_token, "setu") || !Q_stricmp(com_token, "seta")
|| !Q_stricmp(com_token, "sets")) {
char type = com_token[3];
|| !Q_stricmp(com_token, "sets") || !Q_stricmp(com_token, "append")) {
char type;
if (Q_stricmp(com_token, "append")) {
type = com_token[3];
} else {
type = 0;
}
//
// variable