diff options
author | Stijn Buys <ingar@osirion.org> | 2010-11-29 16:04:03 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-11-29 16:04:03 +0000 |
commit | 8774e65cc503318005f34c133cbaee21b18fc144 (patch) | |
tree | 907c120079597398abfda5d4791ce58573009e7c /src/ui | |
parent | 2c7d185fdb03d17475deb9af1edaa82ffa51d4b6 (diff) |
Parse command line options after engine initialization.
Diffstat (limited to 'src/ui')
-rwxr-xr-x | src/ui/modelview.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/modelview.cc b/src/ui/modelview.cc index e715119..dc6ddfc 100755 --- a/src/ui/modelview.cc +++ b/src/ui/modelview.cc @@ -139,6 +139,10 @@ void ModelView::draw() return; } + if (!core::application()->connected() || !core::game()->time()) { + return; + } + Paint::set_color(1.0f, 1.0f, 1.0f); model::Model *model = model::Model::load(modelview_modelname); if (!model) { |