From: Mario Date: Sat, 23 Jul 2016 12:34:40 +0000 (+1000) Subject: Fix a few more missed movetypes X-Git-Tag: xonotic-v0.8.2~700^2~39^2~2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=abd89c36a40138f57c0e0fb75dff27c0865af94e;p=xonotic%2Fxonotic-data.pk3dir.git Fix a few more missed movetypes --- diff --git a/qcsrc/common/turrets/turret/ewheel.qc b/qcsrc/common/turrets/turret/ewheel.qc index 7bc1b5618..62d7222ce 100644 --- a/qcsrc/common/turrets/turret/ewheel.qc +++ b/qcsrc/common/turrets/turret/ewheel.qc @@ -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'; diff --git a/qcsrc/common/weapons/weapon/seeker.qc b/qcsrc/common/weapons/weapon/seeker.qc index bcfbc4c5c..00e481ba2 100644 --- a/qcsrc/common/weapons/weapon/seeker.qc +++ b/qcsrc/common/weapons/weapon/seeker.qc @@ -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;