diff options
author | Stijn Buys <ingar@osirion.org> | 2008-10-12 17:27:00 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-10-12 17:27:00 +0000 |
commit | 574bf11742c40203a4433c0b69264014b10b5a96 (patch) | |
tree | 5fdaa40d22c38e5d8cce47d43a1a892008322598 /src/client/input.cc | |
parent | b417df720584c101f3799874a0c836a543a8d0a8 (diff) |
container widget
Diffstat (limited to 'src/client/input.cc')
-rw-r--r-- | src/client/input.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/input.cc b/src/client/input.cc index d2c290b..22fd1c0 100644 --- a/src/client/input.cc +++ b/src/client/input.cc @@ -504,7 +504,7 @@ void key_pressed(Key *key) } else { if (ui::root()->active()) { - ui::root()->hide_window(); + ui::root()->hide_menu(); local_direction = 0.0f; local_pitch = 0.0f; local_roll = 0.0f; @@ -513,9 +513,9 @@ void key_pressed(Key *key) render::Camera::set_pitch(0.0f); } else { if (core::application()->connected()) { - ui::root()->show_window("game"); + ui::root()->show_menu("game"); } else { - ui::root()->show_window("main"); + ui::root()->show_menu("main"); } } } |