X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=qcsrc%2Fcommon%2Ftriggers%2Ffunc%2Fconveyor.qc;h=4902deea5c27307dac17b4e673db17a76da8a400;hb=c039d054a46888048d214000273ccfc63e4611b6;hp=8bd6016f28a5498f33cb0a0c544fbeca29a93d3d;hpb=05ee5b1212a6537e5c5acb76dbc1ef9df40f85c6;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/triggers/func/conveyor.qc b/qcsrc/common/triggers/func/conveyor.qc index 8bd6016f2..4902deea5 100644 --- a/qcsrc/common/triggers/func/conveyor.qc +++ b/qcsrc/common/triggers/func/conveyor.qc @@ -1,3 +1,4 @@ +#include "conveyor.qh" REGISTER_NET_LINKED(ENT_CLIENT_CONVEYOR) void conveyor_think(entity this) @@ -154,7 +155,7 @@ void conveyor_init(entity this) IL_PUSH(g_drawables, this); this.drawmask = MASK_NORMAL; - this.move_movetype = MOVETYPE_NONE; + set_movetype(this, MOVETYPE_NONE); this.model = ""; this.solid = SOLID_TRIGGER; this.move_time = time;