[OSX] brutally exit supertuxkart when pressing the window's close button. Fixes .

This commit is contained in:
Marianne Gagnon 2015-02-17 19:13:13 -05:00
parent 0ef2181448
commit 0652780040

@ -50,6 +50,7 @@
- (void)windowWillClose:(id)sender
{
_quit = TRUE;
exit(0); // FIXME: hackish workaround, irrlicht crashes if we attempt clean exit
}
- (NSSize)windowWillResize:(NSWindow *)window toSize:(NSSize)proposedFrameSize