summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPaweł Redman <pawel.redman@gmail.com>2017-11-08 12:02:19 +0100
committerPaweł Redman <pawel.redman@gmail.com>2017-11-08 12:02:19 +0100
commitc5a621b3ebeb180d2181df35038ed856714b64e2 (patch)
tree532aa4b70b0dcca59d908bc78a72b051095b6a87 /src/main.cpp
parent5186351345d43801ac45acde8b7e30734eea0349 (diff)
Start implementing the units list.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 3 insertions, 1 deletions
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;
}