#include "ent_cs.qh"
+// for use in mods
+#define ENTCS_EXTRAPROPS
+
#define ENTCS_SET_NORMAL(var, x) MACRO_BEGIN \
var = x; \
MACRO_END
PROP(true, frags, ENTCS_SET_NORMAL, \
{ WriteShort(chan, ent.frags); }, \
{ ent.frags = ReadShort(); }) \
+ \
+ ENTCS_EXTRAPROPS \
\
/**/
int n = this.sv_entnum;
entity e = entcs_receiver(n);
entcs_receiver(n, NULL);
+ if (e.netname) strunzone(e.netname);
+ e.netname = string_null;
+ if (e.model) strunzone(e.model);
+ e.model = string_null;
if (e != this) delete(e);
}