From d603770f992165af6d66cf0020b24ffbfc64428c Mon Sep 17 00:00:00 2001 From: Avanate <33595129+DevOpacity@users.noreply.github.com> Date: Wed, 10 Oct 2018 18:32:02 +0300 Subject: [PATCH] Patch the "White Flashing" sticking around. This patches a bug that causes white flashing to stick around when the player is hurt by acid. --- mp/src/game/shared/hl2/hl2_gamerules.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mp/src/game/shared/hl2/hl2_gamerules.cpp b/mp/src/game/shared/hl2/hl2_gamerules.cpp index bdd5abec..24a6960c 100644 --- a/mp/src/game/shared/hl2/hl2_gamerules.cpp +++ b/mp/src/game/shared/hl2/hl2_gamerules.cpp @@ -206,7 +206,7 @@ bool CHalfLife2::Damage_IsTimeBased( int iDmgType ) // Damage types that are time-based. #ifdef HL2_EPISODIC // This makes me think EP2 should have its own rules, but they are #ifdef all over in here. - return ( ( iDmgType & ( DMG_PARALYZE | DMG_NERVEGAS | DMG_POISON | DMG_RADIATION | DMG_DROWNRECOVER | DMG_SLOWBURN ) ) != 0 ); + return ( ( iDmgType & ( DMG_PARALYZE | DMG_NERVEGAS | DMG_POISON | DMG_ACID | DMG_RADIATION | DMG_DROWNRECOVER | DMG_SLOWBURN ) ) != 0 ); #else return BaseClass::Damage_IsTimeBased( iDmgType ); #endif