Merge pull request #342 from marrub--/fastweaponsfix

sv_fastweapons extension
This commit is contained in:
rheit 2016-02-04 13:31:47 -06:00
commit 56359b6f23
1 changed files with 4 additions and 2 deletions

View File

@ -158,8 +158,10 @@ 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 == 3)
psp->tics = (state->GetTics() != 0);
else if (sv_fastweapons)
psp->tics = 1; // great for producing decals :)
else