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/hud.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/client/hud.cc') diff --git a/src/client/hud.cc b/src/client/hud.cc index 423bf58..c3a6a71 100644 --- a/src/client/hud.cc +++ b/src/client/hud.cc @@ -6,6 +6,7 @@ #include "core/core.h" +#include "client/client.h" #include "client/hud.h" #include "client/input.h" #include "client/targets.h" @@ -224,7 +225,7 @@ bool HUD::on_keypress(const int key, const unsigned int modifier) if (targets::current()) { targets::reset(); } else { - ui::root()->show_menu("game"); + Client::show_menu("game"); } return true; } -- cgit v1.2.3