Skip to content

Commit

Permalink
Recolor player textures when r_md5 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-drexler committed Oct 27, 2024
1 parent 98ac065 commit ebda77f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Quake/gl_model.c
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ static void R_MD5_f (cvar_t *cvar)
for (i=0 , mod=mod_known ; i<mod_numknown ; i++, mod++)
if (mod->type == mod_alias)
Mod_LoadModel (mod, false);

if (cls.state == ca_connected && cls.signon == SIGNONS)
for (i = 0; i < cl.maxclients; i++)
R_TranslateNewPlayerSkin (i);
}

/*
Expand Down

0 comments on commit ebda77f

Please sign in to comment.