mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 14:52:01 +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;
|
j = KNEE_WEAPON;
|
||||||
p->subweapon = 0;
|
p->subweapon = 0;
|
||||||
break;
|
break;
|
||||||
case DYNAMITE_WEAPON:
|
case CROSSBOW_WEAPON:
|
||||||
if (p->ammo_amount[CHICKEN_WEAPON] > 0 && isRRRA())
|
if (p->ammo_amount[CHICKEN_WEAPON] > 0 && isRRRA())
|
||||||
{
|
{
|
||||||
j = CHICKEN_WEAPON;
|
j = CHICKEN_WEAPON;
|
||||||
|
@ -1029,9 +1029,9 @@ void selectweapon_r(int snum, int weap)
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case CHICKEN_WEAPON:
|
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;
|
p->subweapon = 0;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue