From 4208993f226aa33e1b0905721e0799d9a505dc13 Mon Sep 17 00:00:00 2001 From: Marrub Date: Sat, 27 Jun 2015 08:26:48 -0400 Subject: [PATCH] use sv_fastweapons 3 and 4 instead --- src/p_pspr.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/p_pspr.cpp b/src/p_pspr.cpp index abe7f7320..414b414d5 100644 --- a/src/p_pspr.cpp +++ b/src/p_pspr.cpp @@ -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) { @@ -134,8 +136,10 @@ void P_SetPsprite (player_t *player, int position, FState *state, bool nofunctio psp->tics = (state->GetTics() != 0); } } + else if (sv_fastweapons == 3) + psp->tics = (state->GetTics() != 0); else if (sv_fastweapons) - psp->tics = (state->GetTics() != 0); // great for producing decals :) + psp->tics = 1; // great for producing decals :) else psp->tics = state->GetTics(); // could be 0