summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-30 14:09:54 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-30 14:09:54 +0000
commit0876c4969290cb01af8dcc2f73218da8922c2cad (patch)
tree2ad2abc57981c983a888482112688193c0160672 /src/game.cpp
parentd977794bffbd94ab49d08eb06e691151a83bbdb3 (diff)
downloadmana-0876c4969290cb01af8dcc2f73218da8922c2cad.tar.gz
mana-0876c4969290cb01af8dcc2f73218da8922c2cad.tar.bz2
mana-0876c4969290cb01af8dcc2f73218da8922c2cad.tar.xz
mana-0876c4969290cb01af8dcc2f73218da8922c2cad.zip
Allow ESC to quit login screen and do GUI logic before drawing.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index bfea0f35..e042d344 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -108,8 +108,8 @@ void game() {
while (state != EXIT)
{
do_input();
- engine->draw();
gui->logic();
+ engine->draw();
graphics->updateScreen();
do_parse();
flush();