]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - util.c
Guart statistics by option.
[xonotic/gmqcc.git] / util.c
diff --git a/util.c b/util.c
index 891082bf598e97ba5f27efa3909a6f385ca4c730..c19bbaf2b0038203294ed2630dcaa66149457908 100644 (file)
--- a/util.c
+++ b/util.c
@@ -181,9 +181,11 @@ void util_meminfo() {
         }
     }
     
         }
     }
     
-    con_out("Additional Statistics:\n    Total vectors used: %lu\n",
-        vectors
-    );
+    if (OPTS_OPTION_BOOL(OPTION_STATISTICS)) {
+        con_out("Additional Statistics:\n    Total vectors used: %lu\n",
+            vectors
+        );
+    }
 
     if (OPTS_OPTION_BOOL(OPTION_DEBUG) ||
         OPTS_OPTION_BOOL(OPTION_MEMCHK)) {
 
     if (OPTS_OPTION_BOOL(OPTION_DEBUG) ||
         OPTS_OPTION_BOOL(OPTION_MEMCHK)) {