From 28daf5e6fa3239e39ee1d8d809b67a7c7f0be689 Mon Sep 17 00:00:00 2001 From: Lee Salzman Date: Mon, 6 Nov 2006 17:52:17 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@500 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/renderparticles.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/src/renderparticles.cpp b/source/src/renderparticles.cpp index 04609f52..7fcd76e2 100644 --- a/source/src/renderparticles.cpp +++ b/source/src/renderparticles.cpp @@ -51,6 +51,8 @@ void render_particles(int time) newparticle(player1->o, nom, 100000000, 8); }; + if(!parlist) return; + glDepthMask(GL_FALSE); glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_SRC_ALPHA);