summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Howard2006-04-06 19:44:06 +0000
committerSimon Howard2006-04-06 19:44:06 +0000
commit7355700d83fbab08c96fa8181b5aa3938464197e (patch)
treebc713fc43e1cec93b722f60f306e5e6461f710af /src
parent938dee148de348987dc64c70e48edc8914b0f3ad (diff)
downloadchocolate-doom-7355700d83fbab08c96fa8181b5aa3938464197e.tar.gz
chocolate-doom-7355700d83fbab08c96fa8181b5aa3938464197e.tar.bz2
chocolate-doom-7355700d83fbab08c96fa8181b5aa3938464197e.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/i_system.c5
1 files 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 ();