diff options
author | Simon Howard | 2005-11-17 09:41:24 +0000 |
---|---|---|
committer | Simon Howard | 2005-11-17 09:41:24 +0000 |
commit | ef65489cb6abe9cffbf20add190c5480dc8bbb05 (patch) | |
tree | 5502a1d60b3ff518e4157816c3b98339f22ab92c | |
parent | 59c7b8446575847ddf9b22b9b93a4eb58b7fe042 (diff) | |
download | chocolate-doom-ef65489cb6abe9cffbf20add190c5480dc8bbb05.tar.gz chocolate-doom-ef65489cb6abe9cffbf20add190c5480dc8bbb05.tar.bz2 chocolate-doom-ef65489cb6abe9cffbf20add190c5480dc8bbb05.zip |
Catch SDL_QUIT event on ENDOOM display
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 230
-rw-r--r-- | src/i_system.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/i_system.c b/src/i_system.c index 3914c791..7176f863 100644 --- a/src/i_system.c +++ b/src/i_system.c @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: i_system.c 183 2005-10-09 20:19:21Z fraggle $ +// $Id: i_system.c 230 2005-11-17 09:41:24Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -22,6 +22,9 @@ // 02111-1307, USA. // // $Log$ +// Revision 1.14 2005/11/17 09:41:24 fraggle +// Catch SDL_QUIT event on ENDOOM display +// // Revision 1.13 2005/10/09 20:19:21 fraggle // Handle blinking text in ENDOOM lumps properly. // @@ -69,7 +72,7 @@ //----------------------------------------------------------------------------- static const char -rcsid[] = "$Id: i_system.c 183 2005-10-09 20:19:21Z fraggle $"; +rcsid[] = "$Id: i_system.c 230 2005-11-17 09:41:24Z fraggle $"; #include <stdlib.h> @@ -211,6 +214,7 @@ void I_Endoom(void) switch (ev.type) { + case SDL_QUIT: case SDL_MOUSEBUTTONDOWN: case SDL_KEYDOWN: waiting = false; |