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>2009-01-25 14:27:02 +0000
committerStijn Buys <ingar@osirion.org>2009-01-25 14:27:02 +0000
commitde3b64a4f0f14f197f74e56cecdd11a9fbd0cc42 (patch)
tree76bfd7531969be8b288e34b7f471017e3d420f85 /src/client/view.cc
parent1111b6fb9d7db3d1434e03c859270e734219a528 (diff)
enhanced loader screen
Diffstat (limited to 'src/client/view.cc')
-rw-r--r--src/client/view.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/client/view.cc b/src/client/view.cc
index 6631f95..68df0e3 100644
--- a/src/client/view.cc
+++ b/src/client/view.cc
@@ -231,8 +231,10 @@ void View::resize()
void View::draw()
{
+ // view is only drawn when the application is connected
+
// draw hud only when connected and controlling a spacecraft
- if (core::application()->connected() && core::localcontrol() && !ui::root()->active()) {
+ if (core::localcontrol() && !ui::root()->active()) {
view_hud->set_visible(true);
} else {
view_hud->set_visible(false);
@@ -252,7 +254,7 @@ void View::draw()
view_stats->set_visible(draw_stats->value() ? true : false);
view_keypress->set_visible(draw_keypress->value() ? true : false);
- if (core::application()->connected() && core::game()->interactive()) {
+ if (core::game()->interactive()) {
if (ui::console()->visible()) {
view_notify->set_visible(false);
} else if (view_chat->visible() && !view_chat->small_view()) {