From e42210add9b5b8b80d134b76ce167bf32b5cc081 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 24 Apr 2015 15:33:32 +1000 Subject: [PATCH] Add a couple of missing pieces for the impressive announcement --- qcsrc/common/weapons/w_vortex.qc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/qcsrc/common/weapons/w_vortex.qc b/qcsrc/common/weapons/w_vortex.qc index 6deff5e57..3c0d21354 100644 --- a/qcsrc/common/weapons/w_vortex.qc +++ b/qcsrc/common/weapons/w_vortex.qc @@ -264,6 +264,11 @@ bool W_Vortex(int req) VORTEX_SETTINGS(WEP_SKIP_CVAR, WEP_SET_PROP); return true; } + case WR_SETUP: + { + self.vortex_lasthit = 0; + return true; + } case WR_CHECKAMMO1: { ammo_amount = self.WEP_AMMO(VORTEX) >= WEP_CVAR_PRI(vortex, ammo); @@ -289,6 +294,11 @@ bool W_Vortex(int req) VORTEX_SETTINGS(WEP_CONFIG_WRITE_CVARS, WEP_CONFIG_WRITE_PROPS); return true; } + case WR_RESETPLAYER: + { + self.vortex_lasthit = 0; + return true; + } case WR_RELOAD: { W_Reload(min(WEP_CVAR_PRI(vortex, ammo), WEP_CVAR_SEC(vortex, ammo)), "weapons/reload.wav"); -- 2.39.2