]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
don't send free entities! (I've been observing this bug for months)
[xonotic/darkplaces.git] / client.h
index 1dd0df3c32fc2b5f7efbe2bd6edd37c58add3573..71e0b4323f629e7ebf4073ea831faa4bb9fd8e4a 100644 (file)
--- a/client.h
+++ b/client.h
@@ -74,8 +74,8 @@ typedef struct
        float   radius;
        // drop this each second
        float   decay;
-       // the entity that spawned this light (can be NULL if it will never be replaced)
-       //entity_render_t *ent;
+       // the entity that owns this light (can be NULL)
+       struct entity_render_s *ent;
 }
 dlight_t;
 
@@ -632,9 +632,6 @@ typedef struct
        // fullscreen color blend
        float viewblend[4];
 
-       // weapon model
-       entity_render_t viewent;
-
        entity_render_t **entities;
        int numentities;
        int maxentities;