diff --git a/source/src/renderextras.cpp b/source/src/renderextras.cpp index 74139019..f4f935af 100644 --- a/source/src/renderextras.cpp +++ b/source/src/renderextras.cpp @@ -149,6 +149,8 @@ void newsphere(vec &o, float max, int type) void renderspheres(int time) { + if(!slist) return; + glDepthMask(GL_FALSE); glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE);