mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 06:41:58 +00:00
Shutdown game if user clicks the 'X' on his window.
This commit is contained in:
parent
dee436c126
commit
a65432119b
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue