mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-15 04:00:53 +00:00
- RR: Picking up the crossbow should also enable the dynamite as a separate weapon.
This commit is contained in:
parent
f02cf7e067
commit
9a6a98ada9
1 changed files with 5 additions and 0 deletions
|
@ -128,6 +128,7 @@ void addweapon_r(struct player_struct* p, int weapon)
|
||||||
else if (weapon == CROSSBOW_WEAPON)
|
else if (weapon == CROSSBOW_WEAPON)
|
||||||
{
|
{
|
||||||
p->gotweapon.Set(CHICKEN_WEAPON);
|
p->gotweapon.Set(CHICKEN_WEAPON);
|
||||||
|
p->gotweapon.Set(DYNAMITE_WEAPON);
|
||||||
}
|
}
|
||||||
else if (weapon == SLINGBLADE_WEAPON)
|
else if (weapon == SLINGBLADE_WEAPON)
|
||||||
{
|
{
|
||||||
|
@ -155,6 +156,10 @@ void addweapon_r(struct player_struct* p, int weapon)
|
||||||
p->ammo_amount[SLINGBLADE_WEAPON] = 50;
|
p->ammo_amount[SLINGBLADE_WEAPON] = 50;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (weapon == CROSSBOW_WEAPON)
|
||||||
|
{
|
||||||
|
p->gotweapon.Set(DYNAMITE_WEAPON);
|
||||||
|
}
|
||||||
|
|
||||||
if (weapon != DYNAMITE_WEAPON)
|
if (weapon != DYNAMITE_WEAPON)
|
||||||
cw = weapon;
|
cw = weapon;
|
||||||
|
|
Loading…
Reference in a new issue