Shutdown game if user clicks the 'X' on his window.

This commit is contained in:
Ryan C. Gordon 2005-08-31 17:54:07 +00:00
parent dee436c126
commit a65432119b

View file

@ -386,6 +386,9 @@ static void HandleEvents(void)
Sys_QueEvent( t, SE_KEY, K_MOUSE1 + b, qfalse, 0, NULL );
}
break;
case SDL_QUIT:
Sys_Quit();
break;
}
}
}