[OSX] brutally exit supertuxkart when pressing the window's close button. Fixes #1220.
This commit is contained in:
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user