From 2aff6864e084a3e7af4677c33f88cc7cfee5f4d8 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 16 Oct 2012 17:12:26 +0000 Subject: Default sky is loaded in in the game module, the engine falls back to black. --- src/render/draw.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render') 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); -- cgit v1.2.3