]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/triggers/func/train.qc
Use set_movetype everywhere
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / triggers / func / train.qc
index 29c7d0a7b125898ae519ced47c7bd42fc1ac850f..247bfb0fc1e5e34703fc23f42e751e0d57be681a 100644 (file)
@@ -307,7 +307,7 @@ NET_HANDLE(ENT_CLIENT_TRAIN, bool isnew)
 
                this.classname = "func_train";
                this.solid = SOLID_BSP;
-               this.move_movetype = MOVETYPE_PUSH;
+               set_movetype(this, MOVETYPE_PUSH);
                this.drawmask = MASK_NORMAL;
                this.draw = train_draw;
                if (isnew) IL_PUSH(g_drawables, this);
@@ -325,7 +325,7 @@ NET_HANDLE(ENT_CLIENT_TRAIN, bool isnew)
                // but we will need these
                train_next(this);
 
-               this.move_movetype = MOVETYPE_PUSH;
+               set_movetype(this, MOVETYPE_PUSH);
                this.move_time = time;
        }