void __spawnfunc_spawn(entity prototype)
{
entity e = new(clone);
- copyentity(prototype, e);
+ copyentity_qc(prototype, e);
IL_PUSH(g_map_entities, e);
#define X(T, fld, def) { e.fld = e.__spawnfunc_##fld; e.__spawnfunc_##fld = def; }
SPAWNFUNC_INTERNAL_FIELDS(X);
FIELD_SCALAR(fld, monster_name) \
FIELD_SCALAR(fld, movetype) \
FIELD_SCALAR(fld, move_movetype) \
+ FIELD_SCALAR(fld, music) \
FIELD_SCALAR(fld, netname) \
FIELD_SCALAR(fld, nextthink) \
FIELD_SCALAR(fld, noalign) \