}
}
-void target_spawn_spawnfirst()
-{SELFPARAM();
- entity act = self.target_spawn_activator;
- if(self.spawnflags & 2)
+void target_spawn_spawnfirst(entity this)
+{
+ entity act = this.target_spawn_activator;
+ if(this.spawnflags & 2)
target_spawn_use(this, act, NULL);
}
spawnfunc(target_spawn)
{
initialize_field_db();
- self.use1 = target_spawn_use;
+ self.use = target_spawn_use;
self.message = strzone(strreplace("'", "\"", self.message));
self.target_spawn_id = ++target_spawn_count;
InitializeEntity(self, target_spawn_spawnfirst, INITPRIO_LAST);