]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/debug.qh
Net: register all types
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / debug.qh
index 0016492a7a574230ca742516c81de6c36ebaf1e0..7301489f32093d0c34232bb32fc0b30a6adb4cb8 100644 (file)
@@ -3,8 +3,9 @@
 
 .bool debug;
 .int sv_entnum;
-REGISTER_NET_TEMP(net_debug, bool isNew)
+REGISTER_NET_TEMP(net_debug)
 #ifdef CSQC
+       NET_HANDLE(net_debug, bool isNew)
        {
                Net_Accept(net_debug);
                this.sv_entnum = ReadShort();
@@ -17,6 +18,7 @@ REGISTER_NET_TEMP(net_debug, bool isNew)
                this.classname = strzone(ReadString());
                this.sourceLocFile = strzone(ReadString());
                this.sourceLocLine = ReadInt24_t();
+               return true;
        }
 #endif