- RR: Picking up the crossbow should also enable the dynamite as a separate weapon.

This commit is contained in:
Christoph Oelckers 2020-10-24 20:43:36 +02:00
parent f02cf7e067
commit 9a6a98ada9

View file

@ -128,6 +128,7 @@ void addweapon_r(struct player_struct* p, int weapon)
else if (weapon == CROSSBOW_WEAPON)
{
p->gotweapon.Set(CHICKEN_WEAPON);
p->gotweapon.Set(DYNAMITE_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;
}
}
if (weapon == CROSSBOW_WEAPON)
{
p->gotweapon.Set(DYNAMITE_WEAPON);
}
if (weapon != DYNAMITE_WEAPON)
cw = weapon;