mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 22:01:50 +00:00
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)
|
||||
{
|
||||
case SM_UNICIRCLE:
|
||||
m = (count*ptype->count)-1;
|
||||
m = (count*ptype->count);
|
||||
if (ptype->isbeam)
|
||||
m--;
|
||||
|
||||
if (m < 1)
|
||||
m = 0;
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue