]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_parse.c
removed fxmesa support (3dfx svgalib) because no one used it to my knowledge, and...
[xonotic/darkplaces.git] / cl_parse.c
index 722e0a8b6b3266b7ae4e873b0e618e22b284d32c..896ddf0e251fbf0d1d17d0131a222fae552f0b51 100644 (file)
@@ -550,7 +550,10 @@ void CL_ParseUpdate (int bits)
        if (bits & U_DELTA)
                new = ent->state_current;
        else
+       {
                new = ent->state_baseline;
+               new.active = true;
+       }
 
        new.number = num;
        new.time = cl.mtime[0];
@@ -1170,6 +1173,9 @@ void CL_ParseServerMessage (void)
                        if (i >= cl.maxclients)
                                Host_Error ("CL_ParseServerMessage: svc_updatecolors >= cl.maxclients");
                        cl.scores[i].colors = MSG_ReadByte ();
+                       // update our color cvar if our color changed
+                       if (i == cl.playerentity - 1)
+                               Cvar_SetValue ("_cl_color", cl.scores[i].colors);
                        break;
 
                case svc_particle: