diff options
Diffstat (limited to 'src/doom')
-rw-r--r-- | src/doom/d_main.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/doom/d_main.c b/src/doom/d_main.c index ca722dc6..eb9454ac 100644 --- a/src/doom/d_main.c +++ b/src/doom/d_main.c @@ -1151,6 +1151,11 @@ static void LoadIwadDeh(void) } } +static void G_CheckDemoStatusAtExit (void) +{ + G_CheckDemoStatus(); +} + // // D_DoomMain // @@ -1498,7 +1503,7 @@ void D_DoomMain (void) printf("Playing demo %s.\n", file); } - I_AtExit((atexit_func_t) G_CheckDemoStatus, true); + I_AtExit(G_CheckDemoStatusAtExit, true); // Generate the WAD hash table. Speed things up a bit. W_GenerateHashTable(); |