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/view.cc')
-rw-r--r--src/client/view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/view.cc b/src/client/view.cc
index 695f478..3524403 100644
--- a/src/client/view.cc
+++ b/src/client/view.cc
@@ -258,7 +258,7 @@ void frame(float seconds)
// Clear the color and depth buffers.
gl::clear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
- if (core::application()->connected()) {
+ if (core::application()->connected() && core::game()->serverframetime()) {
// Change to the projection matrix and set our viewing volume.
gl::matrixmode(GL_PROJECTION);