Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2012-01-22 17:46:05 +0000
committerStijn Buys <ingar@osirion.org>2012-01-22 17:46:05 +0000
commite38beeb8e048402de8ee46cbbba66436810c2f87 (patch)
treed975985ddd34eab032218c5059e05587aa117b31 /src/client/mainmenu.cc
parent9634bd52544d4083e0252ab47b3cf20829f91fa9 (diff)
Allow key binds to be processed while the main menu is visible.
Diffstat (limited to 'src/client/mainmenu.cc')
-rw-r--r--src/client/mainmenu.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/mainmenu.cc b/src/client/mainmenu.cc
index ac065d8..cfed85f 100644
--- a/src/client/mainmenu.cc
+++ b/src/client/mainmenu.cc
@@ -360,12 +360,15 @@ bool MainMenu::on_keypress(const int key, const unsigned int modifier)
} else {
show_menu(mainmenu_joinmenu);
}
+ return true;
+
} else {
show_menu();
+ return true;
}
}
- return true;
+ return false;
}
} // namespace client