make it possible for the menu parser to support full templates.
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@4723
d7cf8633-e32d-0410-b094-
e92efae38249
init = false;
-// clear it
- if (ent != prog->edicts) // hack
- memset (ent->v, 0, prog->progs->entityfields * 4);
-
// go through all the dictionary pairs
while (1)
{
else
ent = PRVM_ED_Alloc();
+ // clear it
+ if (ent != prog->edicts) // hack
+ memset (ent->v, 0, prog->progs->entityfields * 4);
+
data = PRVM_ED_ParseEdict (data, ent);
parsed++;