From 64b9c27175c86421b243e76e89a6ef4925a75414 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 15 Mar 2017 07:14:29 +1000 Subject: [PATCH] Add a hook to add new entcs networked properties in mods --- qcsrc/common/ent_cs.qc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qcsrc/common/ent_cs.qc b/qcsrc/common/ent_cs.qc index f308530d5..f50f03b5f 100644 --- a/qcsrc/common/ent_cs.qc +++ b/qcsrc/common/ent_cs.qc @@ -1,5 +1,8 @@ #include "ent_cs.qh" +// for use in mods +#define ENTCS_EXTRAPROPS + #define ENTCS_SET_NORMAL(var, x) MACRO_BEGIN \ var = x; \ MACRO_END @@ -48,6 +51,8 @@ MACRO_END PROP(true, frags, ENTCS_SET_NORMAL, \ { WriteShort(chan, ent.frags); }, \ { ent.frags = ReadShort(); }) \ + \ + ENTCS_EXTRAPROPS \ \ /**/ -- 2.39.2