diff --git a/source/cl_parse.c b/source/cl_parse.c index 346a1cf..6191dda 100644 --- a/source/cl_parse.c +++ b/source/cl_parse.c @@ -42,6 +42,7 @@ #include "screen.h" #include "server.h" #include "qdefs.h" +#include "glquake.h" char *svc_strings[] = { @@ -357,6 +358,7 @@ void CL_ParseUpdate (int bits) qboolean forcelink; entity_t *ent; int num; + int skin; if (cls.signon == SIGNONS - 1) { // first update is the final signon stage @@ -412,10 +414,8 @@ if (bits&(1< 0 && num <= cl.maxclients) R_TranslatePlayerSkin (num - 1); -#endif } if (bits & U_FRAME) @@ -436,7 +436,6 @@ if (bits&(1<colormap = cl.scores[i-1].translations; } -#ifdef GLQUAKE if (bits & U_SKIN) skin = MSG_ReadByte(); else @@ -447,14 +446,6 @@ if (bits&(1<skinnum = MSG_ReadByte(); - else - ent->skinnum = ent->baseline.skin; -#endif - if (bits & U_EFFECTS) ent->effects = MSG_ReadByte(); else @@ -661,9 +652,7 @@ void CL_NewTranslation (int slot) memcpy (dest, vid.colormap, sizeof(cl.scores[slot].translations)); top = cl.scores[slot].colors & 0xf0; bottom = (cl.scores[slot].colors &15)<<4; -#ifdef GLQUAKE R_TranslatePlayerSkin (slot); -#endif for (i=0 ; imessage.maxsize = sizeof(client->msgbuf); client->message.allowoverflow = true; // we can catch it -#ifdef IDGODS - client->privileged = IsID(&client->netconnection->addr); -#else client->privileged = false; -#endif if (sv.loadgame) memcpy (client->spawn_parms, spawn_parms, sizeof(spawn_parms));