foxygit / doom Log in
commit 1692a2196638f471a6772226dd5501ea61d0a4f8
Author:     Simon Howard <fraggle@soulsphere.org>
AuthorDate: Fri Mar 16 20:31:52 2018 -0400
Commit:     Simon Howard <fraggle@soulsphere.org>
CommitDate: Fri Mar 16 20:31:52 2018 -0400

    Add a doc comment for -nogui.

    Thanks to Xindage.
---
 src/i_system.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/i_system.c b/src/i_system.c
index ad60dc46..3ebf3cc8 100644
--- a/src/i_system.c
+++ b/src/i_system.c
@@ -305,6 +305,10 @@ void I_Error (char *error, ...)
         entry = entry->next;
     }

+    //!
+    // If specified, don't show a GUI for error messages when the
+    // game exits with an error.
+    //
     exit_gui_popup = !M_ParmExists("-nogui");

     // Pop up a GUI dialog box to show the error message, if the