]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_rmain.c
edict: Move free and freetime into prvm_edict_t itself
[xonotic/darkplaces.git] / gl_rmain.c
index 3efa46d2042499b24b106bef687b5505d42512fc..e5516ded985c28c7e3a5ed5728e96ffda776f921 100644 (file)
@@ -6123,7 +6123,7 @@ static void R_DrawEntityBBoxes(prvm_prog_t *prog)
        for (i = 0; i < prog->num_edicts; i++)
        {
                edict = PRVM_EDICT_NUM(i);
-               if (edict->priv.server->free)
+               if (edict->free)
                        continue;
                // exclude the following for now, as they don't live in world coordinate space and can't be solid:
                if (PRVM_gameedictedict(edict, tag_entity) != 0)