From ebda77f4564f25f5eb0aa57d775f3c9b43bfd345 Mon Sep 17 00:00:00 2001 From: Andrei Drexler Date: Sun, 27 Oct 2024 14:03:25 +0100 Subject: [PATCH] Recolor player textures when r_md5 changes --- Quake/gl_model.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Quake/gl_model.c b/Quake/gl_model.c index 517820de..37185563 100644 --- a/Quake/gl_model.c +++ b/Quake/gl_model.c @@ -80,6 +80,10 @@ static void R_MD5_f (cvar_t *cvar) for (i=0 , mod=mod_known ; itype == mod_alias) Mod_LoadModel (mod, false); + + if (cls.state == ca_connected && cls.signon == SIGNONS) + for (i = 0; i < cl.maxclients; i++) + R_TranslateNewPlayerSkin (i); } /*