- RRRA weapons work again.

This commit is contained in:
Christoph Oelckers 2020-05-19 18:40:40 +02:00
parent 960e656be6
commit ed81022d71

View file

@ -2659,7 +2659,7 @@ static void fireweapon(int snum)
} }
else else
{ {
if (isRRRA() && p->curr_weapon >= MOTORCYCLE_WEAPON) return; if (!isRRRA() && p->curr_weapon >= MOTORCYCLE_WEAPON) return;
switch (p->curr_weapon) switch (p->curr_weapon)
{ {
case DYNAMITE_WEAPON: case DYNAMITE_WEAPON:
@ -2781,7 +2781,7 @@ static void operateweapon(int snum, int sb_snum, int psect)
int i, j, k; int i, j, k;
int psectlotag = sector[psect].lotag; int psectlotag = sector[psect].lotag;
if (!isRRRA() && p->curr_weapon > BOWLING_WEAPON) return; if (!isRRRA() && p->curr_weapon >= MOTORCYCLE_WEAPON) return;
switch (p->curr_weapon) switch (p->curr_weapon)
{ {
case DYNAMITE_WEAPON: case DYNAMITE_WEAPON: