git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12730
d7cf8633-e32d-0410-b094-
e92efae38249
* happens twice here. Perhaps find a cleaner way?
*/
+ top = top >= 0 ? bottom : topcolor.integer;
+ bottom = bottom >= 0 ? bottom : bottomcolor.integer;
+
+ top &= 15;
+ bottom &= 15;
+
// LadyHavoc: allowing skin colormaps 14 and 15 by commenting this out
//if (top > 13)
// top = 13;
top = atoi(Cmd_Argv(cmd, 1));
bottom = atoi(Cmd_Argv(cmd, 2));
+ top &= 15;
+ bottom &= 15;
+
playercolor = top*16 + bottom;
if (host_client->edict && PRVM_serverfunction(SV_ChangeTeam))