X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Ftriggers%2Ffunc%2Fpointparticles.qc;h=a0773f249a82ccfe6bc52f0fac17cb063381cbd6;hb=42d51a516d5741c23c505a46b6e94bd806b04def;hp=1705d4081ead4bafe1a874992dbe379843e5f5b8;hpb=6a611fb362129440369cb09a590023d6292102e9;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/triggers/func/pointparticles.qc b/qcsrc/common/triggers/func/pointparticles.qc index 1705d4081..a0773f249 100644 --- a/qcsrc/common/triggers/func/pointparticles.qc +++ b/qcsrc/common/triggers/func/pointparticles.qc @@ -1,3 +1,4 @@ +#include "pointparticles.qh" REGISTER_NET_LINKED(ENT_CLIENT_POINTPARTICLES) #ifdef SVQC @@ -378,6 +379,7 @@ NET_HANDLE(ENT_CLIENT_POINTPARTICLES, bool isnew) setsize(this, this.mins, this.maxs); this.solid = SOLID_NOT; this.draw = Draw_PointParticles; + if (isnew) IL_PUSH(g_drawables, this); this.entremove = Ent_PointParticles_Remove; } #endif