]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/monsters/monster/wyvern.qc
Introduce touch accessors
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / monsters / monster / wyvern.qc
index c52ce3f99980c4d0754a119acfc614ee9fe666da..07f51611e1a09ac26d471b09b145539fe3934b7a 100644 (file)
@@ -73,7 +73,7 @@ METHOD(WyvernAttack, wr_think, void(WyvernAttack thiswep, entity actor, .entity
                missile.avelocity = '300 300 300';
                missile.nextthink = time + 5;
                missile.think = M_Wyvern_Attack_Fireball_Explode;
-               missile.touch = M_Wyvern_Attack_Fireball_Touch;
+               settouch(missile, M_Wyvern_Attack_Fireball_Touch);
                CSQCProjectile(missile, true, PROJECTILE_FIREMINE, true);
 
         weapon_thinkf(actor, weaponentity, WFRAME_FIRE1, 0, w_ready);