mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
This makes the faster weapon switching work a bit better in my opinion.
git-svn-id: https://svn.eduke32.com/eduke32@281 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
60d78a27f3
commit
36afe510ed
1 changed files with 3 additions and 1 deletions
|
@ -148,7 +148,9 @@ void addweapon( struct player_struct *p,short weapon)
|
|||
|
||||
if(p->holster_weapon == 0)
|
||||
{
|
||||
p->weapon_pos = -1;
|
||||
if(p->weapon_pos == 0)
|
||||
p->weapon_pos = -1;
|
||||
else p->weapon_pos = -9;
|
||||
p->last_weapon = p->curr_weapon;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue