From 9a9b08c0a24fcb10f54f8389ba9c986d62235904 Mon Sep 17 00:00:00 2001 From: Spoike Date: Tue, 7 Jun 2005 03:59:11 +0000 Subject: [PATCH] Fixed [ 1215480 ] Having to "exec" a particle set twice. Now always create a stub effect when assoced. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1078 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/r_part.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/engine/client/r_part.c b/engine/client/r_part.c index 209dd7ce5..cfed11d44 100644 --- a/engine/client/r_part.c +++ b/engine/client/r_part.c @@ -316,11 +316,7 @@ static int CheckAssosiation(char *name, int from) { int to, orig; - orig = to = P_FindParticleType(name); - if (to < 0) - { - return -1; - } + orig = to = P_AllocateParticleType(name); while(to != -1) {