]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/generator.qc
Mutators: combine headers
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / generator.qc
index 3e0b5171f249350679e64ec0cf9896ed4933227d..2a1c0b2f861ab34b1035e0087880e97d67c5849c 100644 (file)
@@ -1,6 +1,6 @@
 #include "generator.qh"
 
-bool generator_send(entity to, int sf)
+bool generator_send(entity this, entity to, int sf)
 {
        WriteByte(MSG_ENTITY, ENT_CLIENT_GENERATOR);
        WriteByte(MSG_ENTITY, sf);
@@ -30,7 +30,7 @@ bool generator_send(entity to, int sf)
 }
 
 void generator_link(void() spawnproc)
-{
+{SELFPARAM();
        Net_LinkEntity(self, true, 0, generator_send);
        self.think              = spawnproc;
        self.nextthink  = time;