Skip to content

Commit

Permalink
Don't blind dying players (flash grenade)
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeyShorokhov committed Jun 12, 2020
1 parent 0202ad4 commit 99b8a02
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions regamedll/dlls/combat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ void PlayerBlind(CBasePlayer *pPlayer, entvars_t *pevInflictor, entvars_t *pevAt
{
UTIL_ScreenFade(pPlayer, color, fadeTime, fadeHold, alpha, 0);

#ifndef REGAMEDLL_ADD
if (!fadetoblack.value)
#else
if (fadetoblack.value != FADETOBLACK_STAY)
#endif
{
for (int i = 1; i <= gpGlobals->maxClients; i++)
{
Expand Down

0 comments on commit 99b8a02

Please sign in to comment.