Fix for WEAPON_GAUSS not displaying the draw animation
This commit is contained in:
parent
6484cf0ff9
commit
a2602bb131
1 changed files with 2 additions and 3 deletions
|
@ -173,12 +173,11 @@ void w_gauss_draw(void)
|
||||||
{
|
{
|
||||||
player pl = (player)self;
|
player pl = (player)self;
|
||||||
pl.mode_tempstate = 0;
|
pl.mode_tempstate = 0;
|
||||||
|
|
||||||
/* link the FX class */
|
|
||||||
#ifdef CLIENT
|
|
||||||
Weapons_SetModel("models/v_gauss.mdl");
|
Weapons_SetModel("models/v_gauss.mdl");
|
||||||
Weapons_ViewAnimation(GAUSS_DRAW);
|
Weapons_ViewAnimation(GAUSS_DRAW);
|
||||||
|
|
||||||
|
/* link the FX class */
|
||||||
|
#ifdef CLIENT
|
||||||
entity eold = self;
|
entity eold = self;
|
||||||
self = pSeat->m_pWeaponFX;
|
self = pSeat->m_pWeaponFX;
|
||||||
spawnfunc_FXGauss();
|
spawnfunc_FXGauss();
|
||||||
|
|
Loading…
Reference in a new issue