From 4d7b37ca1a4848b7c0513c5c2ae6640f5f01d333 Mon Sep 17 00:00:00 2001 From: Evan Ramos Date: Wed, 26 Feb 2020 23:22:12 -0600 Subject: [PATCH] Rednukem: Remove redundant comment and fix formatting # Conflicts: # source/rr/src/gameexec.cpp --- source/rr/src/gameexec.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/source/rr/src/gameexec.cpp b/source/rr/src/gameexec.cpp index c2d2f3906..5fac6f5c5 100644 --- a/source/rr/src/gameexec.cpp +++ b/source/rr/src/gameexec.cpp @@ -1916,14 +1916,8 @@ GAMEEXEC_STATIC void VM_Execute(native_t loop) continue; } insptr++; - if (RR) - { - // This check does not exist in Duke Nukem. - if ((g_spriteExtra[vm.spriteNum] < 1 || g_spriteExtra[vm.spriteNum] == 128) - && (!RR || A_CheckSpriteFlags(vm.spriteNum, SFLAG_KILLCOUNT))) + if (!RR || ((g_spriteExtra[vm.spriteNum] < 1 || g_spriteExtra[vm.spriteNum] == 128) && A_CheckSpriteFlags(vm.spriteNum, SFLAG_KILLCOUNT))) P_AddKills(pPlayer, *insptr); - } - else P_AddKills(pPlayer, *insptr); insptr++; vm.pActor->actorstayput = -1; continue;