Rednukem: Remove redundant comment and fix formatting

# Conflicts:
#	source/rr/src/gameexec.cpp
This commit is contained in:
Evan Ramos 2020-02-26 23:22:12 -06:00 committed by Christoph Oelckers
parent b7294e45a1
commit 4d7b37ca1a

View file

@ -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;