mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-02-01 13:40:59 +00:00
Quit the game if a SDL_QUIT event is received.
This commit is contained in:
parent
7cb455459a
commit
f291693c59
1 changed files with 5 additions and 0 deletions
|
@ -436,6 +436,11 @@ IN_Update(void)
|
|||
}
|
||||
#endif
|
||||
break;
|
||||
|
||||
case SDL_QUIT:
|
||||
Com_Quit();
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue