]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add a fix for #1824: Don't attempt to network EntCS data as tempentities initially...
authorMario <zacjardine@y7mail.com>
Tue, 1 Dec 2020 13:29:03 +0000 (23:29 +1000)
committerMario <zacjardine@y7mail.com>
Tue, 1 Dec 2020 13:29:03 +0000 (23:29 +1000)
qcsrc/common/ent_cs.qc

index 9b96feb3b28c5eab623df4e13b2dd7e55245f060..7d8442140ed22d2908dbb490a9055c659ef36459 100644 (file)
@@ -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)