Revert "- added an option to disable the pickup screen flash."

This reverts commit 2d320a2e86.

The feature has been superseded by pickup_fade_scalar and is no longer needed.
This commit is contained in:
Christoph Oelckers 2016-10-07 08:46:06 +02:00
commit ee66d22034
3 changed files with 1 additions and 5 deletions

View file

@ -23,8 +23,6 @@
#include "serializer.h"
static FRandom pr_restore ("RestorePos");
CVAR(Bool, r_pickupflash, true, CVAR_ARCHIVE);
IMPLEMENT_CLASS(PClassInventory)
@ -1091,7 +1089,7 @@ void AInventory::Touch (AActor *toucher)
if (player != NULL)
{
PlayPickupSound (player->mo);
if (!(ItemFlags & IF_NOSCREENFLASH) && r_pickupflash)
if (!(ItemFlags & IF_NOSCREENFLASH))
{
player->bonuscount = BONUSADD;
}