rnd-19981205-2
[rocksndiamonds.git] / src / misc.c
index 15c8099f24755b0d8d6f0155a52281ff2c9f98ca..39d1fdc45864f5c8022f6891efdb08ca9a49b51e 100644 (file)
@@ -445,6 +445,10 @@ void Error(int mode, char *format, ...)
   char *process_name = "";
   FILE *error = stderr;
 
+  /* display warnings only when running in verbose mode */
+  if (mode & ERR_WARN && !options.verbose)
+    return;
+
 #ifdef MSDOS
   if ((error = openErrorFile()) == NULL)
   {