implemented QW skin support, it's broken on skins that are not the same
[xonotic/darkplaces.git] / cl_main.c
index c001ad4..84d93e8 100644 (file)
--- a/cl_main.c
+++ b/cl_main.c
@@ -817,6 +817,7 @@ void CL_UpdateNetworkEntity(entity_t *e, int recursionlimit, qboolean interpolat
        e->render.flags = e->state_current.flags;
        e->render.effects = e->state_current.effects;
        VectorScale(e->state_current.colormod, (1.0f / 32.0f), e->render.colormod);
+       e->render.entitynumber = e - cl.entities;
        if (e->state_current.flags & RENDER_COLORMAPPED)
        {
                int cb;