particle fix

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@375 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
TimeServ 2004-10-26 21:36:47 +00:00
parent 5133f438a9
commit 253cf12933

View file

@ -1506,7 +1506,10 @@ int R_RunParticleEffectType (vec3_t org, vec3_t dir, float count, int typenum)
switch (ptype->spawnmode) switch (ptype->spawnmode)
{ {
case SM_UNICIRCLE: case SM_UNICIRCLE:
m = (count*ptype->count)-1; m = (count*ptype->count);
if (ptype->isbeam)
m--;
if (m < 1) if (m < 1)
m = 0; m = 0;
else else