From c5a621b3ebeb180d2181df35038ed856714b64e2 Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Wed, 8 Nov 2017 12:02:19 +0100 Subject: Start implementing the units list. --- src/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 57c923d..1059cb6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -21,7 +21,7 @@ int main() game::state_t game; interface::state_t interface(&window, &game); - window.setVerticalSyncEnabled(true); + window.setVerticalSyncEnabled(false); text::load_strings("pl"); assets::load(); @@ -43,5 +43,7 @@ int main() render.end_frame(); } + game.stop(); + return 0; } -- cgit