]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - zone.c
fix a compile error when MEMPARANOIA is off
[xonotic/darkplaces.git] / zone.c
diff --git a/zone.c b/zone.c
index 7eefcd7554d2021d618d2bce2c66298b7805800c..37e06f5dc9fd99d16f3434a2870537df6d6b0d83 100644 (file)
--- a/zone.c
+++ b/zone.c
@@ -674,7 +674,9 @@ Memory_Init
 */
 void Memory_Init (void)
 {
+#if MEMPARANOIA
        sentinel_seed = rand();
+#endif
        poolchain = NULL;
        tempmempool = Mem_AllocPool("Temporary Memory", POOLFLAG_TEMP, NULL);
        zonemempool = Mem_AllocPool("Zone", 0, NULL);