diff options
author | Simon Howard | 2006-03-16 22:17:45 +0000 |
---|---|---|
committer | Simon Howard | 2006-03-16 22:17:45 +0000 |
commit | 9f1245d39e792a9c37d0b7e06184dfff54394154 (patch) | |
tree | 8d1894a3696d41909b2ce33ff5ae051afd5a10a7 /src/wi_stuff.h | |
parent | 3b8e76e7363712827be27729a79b0d3139a2ff97 (diff) | |
download | chocolate-doom-9f1245d39e792a9c37d0b7e06184dfff54394154.tar.gz chocolate-doom-9f1245d39e792a9c37d0b7e06184dfff54394154.tar.bz2 chocolate-doom-9f1245d39e792a9c37d0b7e06184dfff54394154.zip |
Better fix for the intermission screen crash. Don't call WI_End until
after we change to gamestate != GS_INTERMISSION
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 422
Diffstat (limited to 'src/wi_stuff.h')
-rw-r--r-- | src/wi_stuff.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/wi_stuff.h b/src/wi_stuff.h index da14002f..5368de76 100644 --- a/src/wi_stuff.h +++ b/src/wi_stuff.h @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: wi_stuff.h 421 2006-03-16 21:46:59Z fraggle $ +// $Id: wi_stuff.h 422 2006-03-16 22:17:45Z fraggle $ // // Copyright(C) 1993-1996 Id Software, Inc. // Copyright(C) 2005 Simon Howard @@ -40,7 +40,6 @@ typedef enum NoState = -1, StatCount, ShowNextLoc, - FinishedIntermission, } stateenum_t; // Called by main loop, animate the intermission. @@ -53,6 +52,9 @@ void WI_Drawer (void); // Setup for an intermission screen. void WI_Start(wbstartstruct_t* wbstartstruct); +// Shut down the intermission screen +void WI_End(void); + #endif //----------------------------------------------------------------------------- // |