]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix a few more missed movetypes
authorMario <mario@smbclan.net>
Sat, 23 Jul 2016 12:34:40 +0000 (22:34 +1000)
committerMario <mario@smbclan.net>
Sat, 23 Jul 2016 12:34:40 +0000 (22:34 +1000)
qcsrc/common/turrets/turret/ewheel.qc
qcsrc/common/weapons/weapon/seeker.qc

index 7bc1b56188832e534fc64f846e91f0dd319c805f..62d7222ce496003b284e43342d766159a08f3ab1 100644 (file)
@@ -218,7 +218,7 @@ METHOD(EWheel, tr_setup, void(EWheel this, entity it))
     it.iscreature                              = true;
     it.teleportable                    = TELEPORT_NORMAL;
     it.damagedbycontents               = true;
-    it.move_movetype                           = MOVETYPE_WALK;
+    set_movetype(it, MOVETYPE_WALK);
     it.solid                                   = SOLID_SLIDEBOX;
     it.takedamage                              = DAMAGE_AIM;
     it.idle_aim                                = '0 0 0';
index bcfbc4c5cf28fed2c9a6134133efd117771a3197..00e481ba26584ddc0cf4383b10e4646cffb93e7c 100644 (file)
@@ -367,7 +367,7 @@ void W_Seeker_Fire_Flac(Weapon thiswep, entity actor)
        setthink(missile, adaptor_think2use_hittype_splash);
        missile.nextthink               = time + WEP_CVAR(seeker, flac_lifetime) + WEP_CVAR(seeker, flac_lifetime_rand);
        missile.solid                   = SOLID_BBOX;
-       missile.move_movetype           = MOVETYPE_FLY;
+       set_movetype(missile, MOVETYPE_FLY);
        missile.projectiledeathtype = WEP_SEEKER.m_id;
        missile.projectiledeathtype = WEP_SEEKER.m_id | HITTYPE_SECONDARY;
        missile.flags                           = FL_PROJECTILE;