From 0d209ad5fc266e87a85280d7ec2e8737a3834643 Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 1 Dec 2020 23:29:03 +1000 Subject: [PATCH] Add a fix for #1824: Don't attempt to network EntCS data as tempentities initially, leaving the networking of linked entities for the engine to handle --- qcsrc/common/ent_cs.qc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qcsrc/common/ent_cs.qc b/qcsrc/common/ent_cs.qc index 9b96feb3b..7d8442140 100644 --- a/qcsrc/common/ent_cs.qc +++ b/qcsrc/common/ent_cs.qc @@ -221,11 +221,14 @@ ENTCS_PROP(SOLID, true, sv_solid, solid, ENTCS_SET_NORMAL, setthink(e, entcs_think); e.nextthink = time; Net_LinkEntity(e, false, 0, entcs_send); + // NOTE: the following code block has been disabled as a workaround for https://gitlab.com/xonotic/xonotic-data.pk3dir/-/issues/1824 +#if 0 if (!IS_REAL_CLIENT(player)) return; FOREACH_CLIENT(true, { assert(CS(it).entcs); _entcs_send(CS(it).entcs, msg_entity = player, BITS(23), MSG_ONE); }); +#endif } void entcs_detach(entity player) -- 2.39.2