1
0
Fork 0
forked from fte/fteqw

Forgot to commit this. Whoops.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3120 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2009-02-08 14:29:19 +00:00
parent 9adb6c81d9
commit 40742dcc55

View file

@ -3621,7 +3621,7 @@ static void SWD_DrawParticleSpark(int count, particle_t **plist, plooks_t *type)
VectorMA(p->org, -2.5/(speed), p->vel, dest);
}
D_DrawSparkTrans(p, src, dest, type->blendmode);
D_DrawSparkTrans(src, dest, p->alpha, p->color, type->blendmode);
}
}
static void SWD_DrawParticleBlob(int count, particle_t **plist, plooks_t *type)
@ -3691,7 +3691,7 @@ static void SWD_DrawParticleBeam(int count, beamseg_t **blist, plooks_t *type)
else if (b > 255)
b = 255;
p->color = GetPaletteIndex(r, g, b);
D_DrawSparkTrans(p, p->org, q->org, type->blendmode);
D_DrawSparkTrans(p->org, q->org, p->alpha, p->color, type->blendmode);
}
}
#endif