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:
parent
5133f438a9
commit
253cf12933
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue