Skip to content

Commit

Permalink
Fix gender being overridden by deferred skin?
Browse files Browse the repository at this point in the history
  • Loading branch information
Bucky21659 committed Dec 20, 2018
1 parent 328d55f commit 0d8f644
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions codemp/cgame/cg_players.c
Original file line number Diff line number Diff line change
Expand Up @@ -904,10 +904,8 @@ void CG_LoadCISounds(clientInfo_t *ci, qboolean modelloaded, qboolean isDefaultM
isFemale = qfalse;
}

if (isFemale)
ci->gender = GENDER_FEMALE;
else
ci->gender = GENDER_MALE;
if (!ci->deferred)
ci->gender = isFemale ? GENDER_FEMALE : GENDER_FEMALE;

trap->S_Shutup(qtrue);

Expand Down

0 comments on commit 0d8f644

Please sign in to comment.