void target_laser_on (edict_t *self) { if (!self->activator) self->activator = self; self->spawnflags |= 0x80000001; self->svflags &= ~SVF_NOCLIENT; target_laser_think (self); }
void target_laser_on(gentity_t *self) { if (!self->activator) { self->activator = self; } target_laser_think(self); }
static void target_laser_on( edict_t *self ) { if( !self->activator ) self->activator = self; self->spawnflags |= 0x80000001; self->r.svflags &= ~SVF_NOCLIENT; self->wait = ( level.time * 0.001 ) + self->delay; target_laser_think( self ); }
void mal_laser_think (edict_t *self) { if (!self) { return; } target_laser_think(self); self->nextthink = level.time + self->wait + 0.1; self->spawnflags |= 0x80000000; }