X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Fweapons%2Fweapon%2Fvortex.qc;h=1fbb901d5159bc24a70a26361b437870f1c80363;hp=331885b329d72e7f4e31352c288ffcd3534eaaea;hb=b9c4f697a81bb47446239bdfa8ec1fc6083935b5;hpb=a18210910c6400ddceffe84b446a7f3c33d4ac87 diff --git a/qcsrc/common/weapons/weapon/vortex.qc b/qcsrc/common/weapons/weapon/vortex.qc index 331885b329..1fbb901d51 100644 --- a/qcsrc/common/weapons/weapon/vortex.qc +++ b/qcsrc/common/weapons/weapon/vortex.qc @@ -384,6 +384,10 @@ METHOD(Vortex, wr_killmessage, Notification(entity thiswep)) { return WEAPON_VORTEX_MURDER; } +METHOD(Vortex, wr_zoom, bool(entity thiswep, entity actor)) +{ + return PHYS_INPUT_BUTTON_ATCK2(actor); +} #endif #ifdef CSQC @@ -403,7 +407,7 @@ METHOD(Vortex, wr_init, void(entity thiswep)) precache_pic("gfx/reticle_nex"); } } -METHOD(Vortex, wr_zoomreticle, bool(entity thiswep)) +METHOD(Vortex, wr_zoom, bool(entity thiswep, entity actor)) { if(button_zoom || zoomscript_caught || (!WEP_CVAR(vortex, secondary) && button_attack2)) {