Open Pinsplash opened 4 years ago
In the 2013 SDK, line 354 clearly states:
// Only do these effects if we're not submerged
Followed by the line if ( UTIL_PointContents( GetAbsOrigin() ) & CONTENTS_WATER ) which checks if the entity is in water, instead of out. I don't think I need to say how to fix it.
if ( UTIL_PointContents( GetAbsOrigin() ) & CONTENTS_WATER )
In the 2013 SDK, line 354 clearly states:
// Only do these effects if we're not submerged
Followed by the line
if ( UTIL_PointContents( GetAbsOrigin() ) & CONTENTS_WATER )
which checks if the entity is in water, instead of out. I don't think I need to say how to fix it.