shithub: qk1

Download patch

ref: 59247bdd26db2f47b7a7723359fc129546941af5
parent: 7684067e918611c35904583b6d3535ca3b6273b9
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Mon Oct 14 15:41:58 EDT 2024

CL_ParseUpdate: allow skins on any entities - fixes stoned (heh) knights in AD maps

--- a/cl_parse.c
+++ b/cl_parse.c
@@ -359,7 +359,7 @@
 	else
 		ent->colormap = cl.scores[colormap-1].translations;
 
-	if(skin != ent->skinnum && num >= 0 && num <= cl.maxclients){
+	if(skin != ent->skinnum && num >= 0){
 		// FIXME(sigrid): update the skin
 		ent->skinnum = skin;
 	}