mirror of
https://github.com/nzp-team/fteqw.git
synced 2025-01-20 15:31:02 +00:00
Please insert volume...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3108 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
02b53fc859
commit
40a24ea7f2
1 changed files with 1 additions and 0 deletions
|
@ -358,6 +358,7 @@ static part_type_t *P_GetParticleType(char *name)
|
||||||
}
|
}
|
||||||
part_type = BZ_Realloc(part_type, sizeof(part_type_t)*(numparticletypes+1));
|
part_type = BZ_Realloc(part_type, sizeof(part_type_t)*(numparticletypes+1));
|
||||||
ptype = &part_type[numparticletypes++];
|
ptype = &part_type[numparticletypes++];
|
||||||
|
memset(ptype, 0, sizeof(*ptype));
|
||||||
strcpy(ptype->name, name);
|
strcpy(ptype->name, name);
|
||||||
ptype->assoc=P_INVALID;
|
ptype->assoc=P_INVALID;
|
||||||
ptype->cliptype = P_INVALID;
|
ptype->cliptype = P_INVALID;
|
||||||
|
|
Loading…
Reference in a new issue