Fix for WEAPON_GAUSS not displaying the draw animation

This commit is contained in:
Marco Cawthorne 2021-05-29 12:46:32 +02:00
parent 6484cf0ff9
commit a2602bb131
1 changed files with 2 additions and 3 deletions

View File

@ -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();