Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/client.cc')
-rw-r--r--src/client/client.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/client.cc b/src/client/client.cc
index e9bfba8..81aba9d 100644
--- a/src/client/client.cc
+++ b/src/client/client.cc
@@ -108,6 +108,7 @@ void Client::init(int count, char **arguments)
// initialize user interface
ui::init();
+ new View(ui::root());
// Initialize the video subsystem
if (!video::init()) {
@@ -191,14 +192,14 @@ void Client::frame(float seconds)
if (core::application()->load("intro")) {
core::application()->connect("");
}
- // if all fails, show the console
+ // show the console if everything fails
if (!core::application()->connected() && !console()->visible()) {
console()->toggle();
}
} else {
// show the main menu on non-interactive modules
if (!core::game()->interactive() && !ui::root()->active()) {
- ui::root()->show_window("main");
+ ui::root()->show_window("main");
}
}