]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - progs.h
fix a use of tempmempool to be loadmodel->mempool
[xonotic/darkplaces.git] / progs.h
diff --git a/progs.h b/progs.h
index 5993d20d36a07b8f147e4a763cfb7002f7c4f475..51e1c9da7efbef4d1d8c98bb317d9855734186de 100644 (file)
--- a/progs.h
+++ b/progs.h
@@ -32,6 +32,10 @@ typedef struct edict_engineprivate_s
        // sv.time when the object was freed (to prevent early reuse which could
        // mess up client interpolation or obscure severe QuakeC bugs)
        float freetime;
+       // mark for the leak detector
+       int mark;
+       // place in the code where it was allocated (for the leak detector)
+       const char *allocation_origin;
        // initially false to prevent projectiles from moving on their first frame
        // (even if they were spawned by an synchronous client think)
        qboolean move;