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:
terminx 2006-08-29 19:22:41 +00:00
parent 60d78a27f3
commit 36afe510ed

View file

@ -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