Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2012-10-16 17:12:26 +0000
committerStijn Buys <ingar@osirion.org>2012-10-16 17:12:26 +0000
commit2aff6864e084a3e7af4677c33f88cc7cfee5f4d8 (patch)
treeed3985fc0664b089d7222a80a3a1b4c0f2f32485 /src
parent7859a5ffeb9e6dcc1ce7fd98a0d4932425d3d282 (diff)
Default sky is loaded in in the game module, the engine falls back to black.
Diffstat (limited to 'src')
-rw-r--r--src/render/draw.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/draw.cc b/src/render/draw.cc
index 3d71ad4..04a2734 100644
--- a/src/render/draw.cc
+++ b/src/render/draw.cc
@@ -148,7 +148,7 @@ void draw_pass_sky()
if (core::localplayer()->zone()->sky().size()) {
Textures::load_cubemap("textures/sky/" + core::localplayer()->zone()->sky());
} else {
- Textures::load_cubemap("textures/sky/default");
+ return;
}
gl::enable(GL_TEXTURE_CUBE_MAP);