foxygit / doom Log in
commit 7355700d83fbab08c96fa8181b5aa3938464197e
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Thu Apr 6 19:44:06 2006 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Thu Apr 6 19:44:06 2006 +0000

    Save demos when quitting normally - it is no longer neccessary to press
    'q' to end a demo!  Thanks to the 10,000 people who reported this bug.

    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 463
---
 src/i_system.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/i_system.c b/src/i_system.c
index e2d9935d..bb5c2424 100644
--- a/src/i_system.c
+++ b/src/i_system.c
@@ -1,7 +1,7 @@
 // Emacs style mode select   -*- C++ -*-
 //-----------------------------------------------------------------------------
 //
-// $Id: i_system.c 458 2006-03-30 19:25:12Z fraggle $
+// $Id: i_system.c 463 2006-04-06 19:44:06Z fraggle $
 //
 // Copyright(C) 1993-1996 Id Software, Inc.
 // Copyright(C) 2005 Simon Howard
@@ -81,7 +81,7 @@
 //-----------------------------------------------------------------------------

 static const char
-rcsid[] = "$Id: i_system.c 458 2006-03-30 19:25:12Z fraggle $";
+rcsid[] = "$Id: i_system.c 463 2006-04-06 19:44:06Z fraggle $";


 #include <stdlib.h>
@@ -224,6 +224,7 @@ void I_Endoom(void)
 void I_Quit (void)
 {
     D_QuitNetGame ();
+    G_CheckDemoStatus();
     I_ShutdownSound();
     I_ShutdownMusic();
     M_SaveDefaults ();