]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/generator.qc
Net: register all types
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / generator.qc
index ec38521c6650670e43ddf00217db62a76131b756..e6c746a751c747da906b3673a9a0ed4ff5256dc2 100644 (file)
@@ -1,8 +1,8 @@
 #include "generator.qh"
 
-bool generator_send(entity to, int sf)
-{SELFPARAM();
-       WriteByte(MSG_ENTITY, ENT_CLIENT_GENERATOR);
+bool generator_send(entity this, entity to, int sf)
+{
+       WriteHeader(MSG_ENTITY, ENT_CLIENT_GENERATOR);
        WriteByte(MSG_ENTITY, sf);
        if(sf & GSF_SETUP)
        {