1
0
mirror of https://github.com/rwengine/openrw.git synced 2024-09-15 15:02:34 +02:00

Handle window close event

This commit is contained in:
Daniel Evans 2015-02-26 02:06:43 +00:00
parent 7f2c5a4645
commit cdff0aa275

View File

@ -113,6 +113,9 @@ int RWGame::run()
break;
case sf::Event::KeyPressed:
globalKeyEvent(event);
break;
case sf::Event::Closed:
return 0;
default: break;
}