mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-12-02 17:02:25 +00:00
use sv_fastweapons 3 and 4 instead
This commit is contained in:
parent
873ef3fea8
commit
4208993f22
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue