From a2602bb131e9cdd59f70027efdb89febf01c4acb Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Sat, 29 May 2021 12:46:32 +0200 Subject: [PATCH] Fix for WEAPON_GAUSS not displaying the draw animation --- src/shared/w_gauss.qc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/shared/w_gauss.qc b/src/shared/w_gauss.qc index f4cf5d2..750dcc5 100644 --- a/src/shared/w_gauss.qc +++ b/src/shared/w_gauss.qc @@ -173,12 +173,11 @@ void w_gauss_draw(void) { player pl = (player)self; pl.mode_tempstate = 0; - - /* link the FX class */ -#ifdef CLIENT Weapons_SetModel("models/v_gauss.mdl"); Weapons_ViewAnimation(GAUSS_DRAW); + /* link the FX class */ +#ifdef CLIENT entity eold = self; self = pSeat->m_pWeaponFX; spawnfunc_FXGauss();