diff options
Diffstat (limited to 'src/i_video.c')
-rw-r--r-- | src/i_video.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/i_video.c b/src/i_video.c index 8360ab9e..ac25e9ad 100644 --- a/src/i_video.c +++ b/src/i_video.c @@ -679,13 +679,10 @@ void I_GetEvent(void) } break; -/* TODO case SDL_QUIT: - // bring up the "quit doom?" prompt - S_StartSound(NULL,sfx_swtchn); - M_QuitDOOM(0); + event.type = ev_quit; + D_PostEvent(&event); break; - */ case SDL_ACTIVEEVENT: // need to update our focus state |