]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
give blood stains back
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 26 May 2009 08:30:50 +0000 (08:30 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 26 May 2009 08:30:50 +0000 (08:30 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8990 d7cf8633-e32d-0410-b094-e92efae38249

cl_particles.c

index d31e9cdbb7072d0830e6d2ecfc378f2d0223619b..b5db4f16ac22ac9ed71f492e91e99475137f9fba 100644 (file)
@@ -2475,7 +2475,7 @@ void R_DrawParticles (void)
                                                        // blood - splash on solid
                                                        if (trace.hitq3surfaceflags & Q3SURFACEFLAG_NOMARKS)
                                                                goto killparticle;
-                                                       if(p->staintexnum == -1 && p->staincolor < 0) // staintex < -1 means no stains at all
+                                                       if(p->staintexnum == -1) // staintex < -1 means no stains at all
                                                        {
                                                                R_Stain(p->org, 16, 64, 16, 16, (int)(p->alpha * p->size * (1.0f / 80.0f)), 64, 32, 32, (int)(p->alpha * p->size * (1.0f / 80.0f)));
                                                                if (cl_decals.integer)