shithub: choc

Download patch

ref: 7355700d83fbab08c96fa8181b5aa3938464197e
parent: 938dee148de348987dc64c70e48edc8914b0f3ad
author: Simon Howard <[email protected]>
date: Thu Apr 6 15:44:06 EDT 2006

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

--- 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_Quit (void)
 {
     D_QuitNetGame ();
+    G_CheckDemoStatus();
     I_ShutdownSound();
     I_ShutdownMusic();
     M_SaveDefaults ();