X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Fweapons%2Fweapon%2Fporto.qc;h=f17a2ac505f178514b6ee04b433bb9948441b477;hp=dbcad2c1e6d8e177666ebfb0b40e9141ba2f13a9;hb=c4230403a60e672acde0b6dfa32ca67f56879183;hpb=366896e7245f72562521ca1d957505198b1bb275 diff --git a/qcsrc/common/weapons/weapon/porto.qc b/qcsrc/common/weapons/weapon/porto.qc index dbcad2c1e..f17a2ac50 100644 --- a/qcsrc/common/weapons/weapon/porto.qc +++ b/qcsrc/common/weapons/weapon/porto.qc @@ -257,7 +257,7 @@ void W_Porto_Attack(entity actor, float type) gren.playerid = actor.playerid; gren.bot_dodge = true; gren.bot_dodgerating = 200; - gren.movetype = MOVETYPE_BOUNCEMISSILE; + set_movetype(gren, MOVETYPE_BOUNCEMISSILE); PROJECTILE_MAKETRIGGER(gren); gren.effects = EF_RED; gren.scale = 4;