mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-14 11:50:49 +00:00
- Duke (RRRA): Fix alt weapon slot for CHICKEN_WEAPON
and CROSSBOW_WEAPON
.
* Fixes #440.
This commit is contained in:
parent
39983f8144
commit
b015bc0685
1 changed files with 3 additions and 3 deletions
|
@ -1021,7 +1021,7 @@ void selectweapon_r(int snum, int weap)
|
|||
j = KNEE_WEAPON;
|
||||
p->subweapon = 0;
|
||||
break;
|
||||
case DYNAMITE_WEAPON:
|
||||
case CROSSBOW_WEAPON:
|
||||
if (p->ammo_amount[CHICKEN_WEAPON] > 0 && isRRRA())
|
||||
{
|
||||
j = CHICKEN_WEAPON;
|
||||
|
@ -1029,9 +1029,9 @@ void selectweapon_r(int snum, int weap)
|
|||
}
|
||||
break;
|
||||
case CHICKEN_WEAPON:
|
||||
if (p->ammo_amount[DYNAMITE_WEAPON] > 0)
|
||||
if (p->ammo_amount[CROSSBOW_WEAPON] > 0)
|
||||
{
|
||||
j = DYNAMITE_WEAPON;
|
||||
j = CROSSBOW_WEAPON;
|
||||
p->subweapon = 0;
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue