mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-05-15 16:22:28 +03:00
Patch the "White Flashing" sticking around.
This patches a bug that causes white flashing to stick around when the player is hurt by acid.
This commit is contained in:
parent
2c540d4d69
commit
d603770f99
@ -206,7 +206,7 @@ bool CHalfLife2::Damage_IsTimeBased( int iDmgType )
|
|||||||
// Damage types that are time-based.
|
// Damage types that are time-based.
|
||||||
#ifdef HL2_EPISODIC
|
#ifdef HL2_EPISODIC
|
||||||
// This makes me think EP2 should have its own rules, but they are #ifdef all over in here.
|
// 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
|
#else
|
||||||
return BaseClass::Damage_IsTimeBased( iDmgType );
|
return BaseClass::Damage_IsTimeBased( iDmgType );
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user