]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/func/conveyor.qc
Implement move_qcphysics
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / func / conveyor.qc
index bdb80fe14366db3c0ab39a208d709f09a7ab4a83..95f9ebc697a36932390a1856791be8adaa5134ad 100644 (file)
@@ -140,7 +140,7 @@ spawnfunc(func_conveyor)
 {
        SetMovedir(this);
        InitMovingBrushTrigger(this);
-       this.movetype = MOVETYPE_NONE;
+       set_movetype(this, MOVETYPE_NONE);
        conveyor_init(this);
 }
 
@@ -153,7 +153,7 @@ void conveyor_init(entity this)
        this.draw = conveyor_draw;
        this.drawmask = MASK_NORMAL;
 
-       this.movetype = MOVETYPE_NONE;
+       this.move_movetype = MOVETYPE_NONE;
        this.model = "";
        this.solid = SOLID_TRIGGER;
        this.move_time = time;