else if (targ.classname == "item_health_mega")
this.health = 200;
//remove(targ); // removing ents in init functions causes havoc, workaround:
- targ.think = SUB_Remove_self;
+ setthink(targ, SUB_Remove_self);
targ.nextthink = time;
}
this.spawnflags = 2;