X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Fweapons%2Fweapon%2Fhagar.qc;h=de576e6096ee6b0181fa7e1ad207e56a199b6575;hp=54539f7272248f91c037387d3fa376a81ea5655d;hb=1add7fc6b9e512dcfcfd3180505046449ac782cd;hpb=c028ea62161e048d7a12774786d587604319e290 diff --git a/qcsrc/common/weapons/weapon/hagar.qc b/qcsrc/common/weapons/weapon/hagar.qc index 54539f727..de576e609 100644 --- a/qcsrc/common/weapons/weapon/hagar.qc +++ b/qcsrc/common/weapons/weapon/hagar.qc @@ -155,7 +155,7 @@ void W_Hagar_Attack(Weapon thiswep) missile.event_damage = W_Hagar_Damage; missile.damagedbycontents = true; - missile.touch = W_Hagar_Touch; + settouch(missile, W_Hagar_Touch); missile.use = W_Hagar_Explode_use; missile.think = adaptor_think2use_hittype_splash; missile.nextthink = time + WEP_CVAR_PRI(hagar, lifetime); @@ -197,7 +197,7 @@ void W_Hagar_Attack2(Weapon thiswep) missile.event_damage = W_Hagar_Damage; missile.damagedbycontents = true; - missile.touch = W_Hagar_Touch2; + settouch(missile, W_Hagar_Touch2); missile.cnt = 0; missile.use = W_Hagar_Explode2_use; missile.think = adaptor_think2use_hittype_splash; @@ -256,7 +256,7 @@ void W_Hagar_Attack2_Load_Release(.entity weaponentity) missile.event_damage = W_Hagar_Damage; missile.damagedbycontents = true; - missile.touch = W_Hagar_Touch; // not bouncy + settouch(missile, W_Hagar_Touch); // not bouncy missile.use = W_Hagar_Explode2_use; missile.think = adaptor_think2use_hittype_splash; missile.nextthink = time + WEP_CVAR_SEC(hagar, lifetime_min) + random() * WEP_CVAR_SEC(hagar, lifetime_rand);