From 69eed715f80c24c2435c82bb9fa1954697bf3af0 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 4 Sep 2011 17:54:51 +0000 Subject: Moved main menu infrastructure into client namespace, removed ui::Container and ui::Menu classes. --- src/client/entitymenu.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/client/entitymenu.cc') diff --git a/src/client/entitymenu.cc b/src/client/entitymenu.cc index ee1d373..f9a5edc 100644 --- a/src/client/entitymenu.cc +++ b/src/client/entitymenu.cc @@ -6,6 +6,7 @@ #include "client/entitymenu.h" +#include "client/client.h" #include "ui/ui.h" #include "ui/paint.h" @@ -171,7 +172,7 @@ bool EntityMenu::on_keypress(const int key, const unsigned int modifier) generate(menu_generated_entity, "main"); } else { this->hide(); - ui::root()->show_menu("game"); + Client::show_menu("game"); } return true; } -- cgit v1.2.3