From 40a24ea7f243601be1e3de4bae2e3fd1505a4448 Mon Sep 17 00:00:00 2001 From: Spoike Date: Fri, 30 Jan 2009 03:54:03 +0000 Subject: [PATCH] Please insert volume... git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3108 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/p_script.c | 1 + 1 file changed, 1 insertion(+) diff --git a/engine/client/p_script.c b/engine/client/p_script.c index 0e26aea80..9fb11089e 100644 --- a/engine/client/p_script.c +++ b/engine/client/p_script.c @@ -358,6 +358,7 @@ static part_type_t *P_GetParticleType(char *name) } part_type = BZ_Realloc(part_type, sizeof(part_type_t)*(numparticletypes+1)); ptype = &part_type[numparticletypes++]; + memset(ptype, 0, sizeof(*ptype)); strcpy(ptype->name, name); ptype->assoc=P_INVALID; ptype->cliptype = P_INVALID;