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
1 changed files with 4 additions and 1 deletions

View File

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