init entity info

This commit is contained in:
Bill Currie 2004-01-29 08:22:59 +00:00
parent 2e87490f3b
commit a2e8080a03

View file

@ -293,10 +293,12 @@ convert_qfo (void)
break;
}
}
progs.entityfields += pr_type_size[ddef.type];
ddef.ofs = G_INT (&pr, ddef.ofs);
pr.pr_fielddefs[progs.numfielddefs++] = ddef;
}
}
pr.pr_edict_size = progs.entityfields * 4;
progs.numfunctions = qfo->num_funcs;
pr.pr_functions = calloc (qfo->num_funcs, sizeof (dfunction_t));