mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-07 03:12:36 +01:00
Handle window close event
This commit is contained in:
parent
7f2c5a4645
commit
cdff0aa275
@ -113,6 +113,9 @@ int RWGame::run()
|
||||
break;
|
||||
case sf::Event::KeyPressed:
|
||||
globalKeyEvent(event);
|
||||
break;
|
||||
case sf::Event::Closed:
|
||||
return 0;
|
||||
default: break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user