From ed81022d71e4411b376ca959d1d87a095e329caf Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 19 May 2020 18:40:40 +0200 Subject: [PATCH] - RRRA weapons work again. --- source/games/duke/src/player_r.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/games/duke/src/player_r.cpp b/source/games/duke/src/player_r.cpp index 48462d9ae..39e73254f 100644 --- a/source/games/duke/src/player_r.cpp +++ b/source/games/duke/src/player_r.cpp @@ -2659,7 +2659,7 @@ static void fireweapon(int snum) } else { - if (isRRRA() && p->curr_weapon >= MOTORCYCLE_WEAPON) return; + if (!isRRRA() && p->curr_weapon >= MOTORCYCLE_WEAPON) return; switch (p->curr_weapon) { case DYNAMITE_WEAPON: @@ -2781,7 +2781,7 @@ static void operateweapon(int snum, int sb_snum, int psect) int i, j, k; 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) { case DYNAMITE_WEAPON: