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);