]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - host.c
don't call Mem_CheckSentinelsGlobal in image loaders (wastes time)
[xonotic/darkplaces.git] / host.c
diff --git a/host.c b/host.c
index a5bca7369eff93ef71fb0fe064bcd7b5cf290230..1f2ccaa4f49469dae384673bb29b3a662daf0ff2 100644 (file)
--- a/host.c
+++ b/host.c
@@ -935,6 +935,9 @@ void Host_Main(void)
 
 #if MEMPARANOIA
                Mem_CheckSentinelsGlobal();
+#else
+               if (developer_memorydebug.integer)
+                       Mem_CheckSentinelsGlobal();
 #endif
 
                // if there is some time remaining from this frame, reset the timers