diff options
-rw-r--r-- | src/i_system.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/i_system.c b/src/i_system.c index 537cd667..c783d491 100644 --- a/src/i_system.c +++ b/src/i_system.c @@ -251,6 +251,8 @@ void I_Quit (void) entry = entry->next; } + SDL_Quit(); + exit(0); } @@ -444,6 +446,8 @@ void I_Error (char *error, ...) // abort(); + SDL_Quit(); + exit(-1); } |