use sv_fastweapons 3 and 4 instead

This commit is contained in:
Marrub 2015-06-27 08:26:48 -04:00
parent 873ef3fea8
commit 4208993f22

View file

@ -123,7 +123,9 @@ void P_SetPsprite (player_t *player, int position, FState *state, bool nofunctio
} }
if (sv_fastweapons >= 2 && position == ps_weapon) if (sv_fastweapons == 2 && position == ps_weapon)
psp->tics = state->ActionFunc == NULL ? 0 : 1;
else if (sv_fastweapons >= 4 && position == ps_weapon)
{ {
if(state->ActionFunc == NULL) if(state->ActionFunc == NULL)
{ {
@ -134,8 +136,10 @@ void P_SetPsprite (player_t *player, int position, FState *state, bool nofunctio
psp->tics = (state->GetTics() != 0); psp->tics = (state->GetTics() != 0);
} }
} }
else if (sv_fastweapons == 3)
psp->tics = (state->GetTics() != 0);
else if (sv_fastweapons) else if (sv_fastweapons)
psp->tics = (state->GetTics() != 0); // great for producing decals :) psp->tics = 1; // great for producing decals :)
else else
psp->tics = state->GetTics(); // could be 0 psp->tics = state->GetTics(); // could be 0