Skip to content

Commit

Permalink
CGAME: Fix unknown token error
Browse files Browse the repository at this point in the history
  • Loading branch information
kai-li-wop committed Oct 30, 2023
1 parent c5f3593 commit 4504feb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/cgame/cg_players.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4504feb

Please sign in to comment.