]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Remove the entcs hook (macros aren't flexible enough for this to be used by mods)
authorMario <mario@smbclan.net>
Tue, 14 Mar 2017 23:44:54 +0000 (09:44 +1000)
committerMario <mario@smbclan.net>
Tue, 14 Mar 2017 23:44:54 +0000 (09:44 +1000)
qcsrc/common/ent_cs.qc

index f50f03b5f79dfa8a1cfb89e9c9f2cd2347a19268..f308530d50d7d475e020257e67503bc5606dc858 100644 (file)
@@ -1,8 +1,5 @@
 #include "ent_cs.qh"
 
 #include "ent_cs.qh"
 
-// for use in mods
-#define ENTCS_EXTRAPROPS
-
 #define ENTCS_SET_NORMAL(var, x) MACRO_BEGIN \
        var = x; \
 MACRO_END
 #define ENTCS_SET_NORMAL(var, x) MACRO_BEGIN \
        var = x; \
 MACRO_END
@@ -51,8 +48,6 @@ MACRO_END
     PROP(true, frags, ENTCS_SET_NORMAL, \
        { WriteShort(chan, ent.frags); }, \
        { ent.frags = ReadShort(); }) \
     PROP(true, frags, ENTCS_SET_NORMAL, \
        { WriteShort(chan, ent.frags); }, \
        { ent.frags = ReadShort(); }) \
-    \
-    ENTCS_EXTRAPROPS \
     \
        /**/
 
     \
        /**/