From 61df98b5060f98ad2284be3ed04364727f1e9752 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Mon, 6 Nov 2006 18:09:03 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@502 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/renderextras.cpp | 2 ++ 1 file changed, 2 insertions(+) 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);