From 253cf12933a53de94aebea08756bea6caad9f774 Mon Sep 17 00:00:00 2001 From: TimeServ Date: Tue, 26 Oct 2004 21:36:47 +0000 Subject: [PATCH] particle fix git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@375 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/r_part.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/engine/client/r_part.c b/engine/client/r_part.c index 4eba42556..882ce8ef8 100644 --- a/engine/client/r_part.c +++ b/engine/client/r_part.c @@ -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