From 4504febdc866e3247829a020dda14e05681d948f Mon Sep 17 00:00:00 2001 From: Kai-Li Date: Mon, 30 Oct 2023 14:50:01 +0100 Subject: [PATCH] CGAME: Fix unknown token error --- code/cgame/cg_players.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/cgame/cg_players.c b/code/cgame/cg_players.c index 0be7bfec4..65b64aab1 100644 --- a/code/cgame/cg_players.c +++ b/code/cgame/cg_players.c @@ -164,9 +164,9 @@ static qboolean CG_ParseAnimationFile(const char *filename, clientInfo_t *ci) { } continue; } else if (!Q_stricmp(token, "sex")) { + token = COM_Parse(&text_p); // not given in the userinfo - then use the one from animation.cfg if (ci->gender == GENDER_MAX) { - token = COM_Parse(&text_p); if (!token[0]) { ci->gender = GENDER_NONE; break;