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
wopox1337 committed Jul 14, 2023
1 parent f7c96c8 commit d2bc6b8
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 d2bc6b8

Please sign in to comment.