mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-30 16:00:55 +00:00
Merge pull request #342 from marrub--/fastweaponsfix
sv_fastweapons extension
This commit is contained in:
commit
56359b6f23
1 changed files with 4 additions and 2 deletions
|
@ -158,8 +158,10 @@ void P_SetPsprite (player_t *player, int position, FState *state, bool nofunctio
|
|||
}
|
||||
|
||||
|
||||
if (sv_fastweapons >= 2 && position == ps_weapon)
|
||||
psp->tics = state->ActionFunc == NULL? 0 : 1;
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue