void use_target_explosion(edict_t * self, edict_t * other, edict_t * activator) { self->activator = activator; if (!self->delay) { target_explosion_explode(self); return; } self->think = target_explosion_explode; self->nextthink = level.time + self->delay; }
void use_target_explosion (edict_t *self, edict_t *other, edict_t *activator) { self->activator = activator; if (!self->delay) { target_explosion_explode (self); return; } self->think = target_explosion_explode; self->nextthink = level.framenum + SECS_TO_FRAMES(self->delay); }