diff --git a/src/game/server/explode.cpp b/src/game/server/explode.cpp index 42d8df35117..4b2cc1ac5cf 100644 --- a/src/game/server/explode.cpp +++ b/src/game/server/explode.cpp @@ -352,8 +352,7 @@ void CEnvExplosion::InputExplode( inputdata_t &inputdata ) SetNextThink( gpGlobals->curtime + 0.3 ); // Only do these effects if we're not submerged - if ( UTIL_PointContents( GetAbsOrigin() ) & CONTENTS_WATER ) - { + if ( !( UTIL_PointContents( GetAbsOrigin() ) & CONTENTS_WATER ) ) { // draw sparks if ( !( m_spawnflags & SF_ENVEXPLOSION_NOSPARKS ) ) {