|
|
|
@ -1198,6 +1198,8 @@ void CBasePlayer::WaterMove()
@@ -1198,6 +1198,8 @@ void CBasePlayer::WaterMove()
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// make bubbles
|
|
|
|
|
if( pev->waterlevel == 3 ) |
|
|
|
|
{ |
|
|
|
|
air = (int)( pev->air_finished - gpGlobals->time ); |
|
|
|
|
if( !RANDOM_LONG( 0, 0x1f ) && RANDOM_LONG( 0, AIRTIME - 1 ) >= air ) |
|
|
|
|
{ |
|
|
|
@ -1217,6 +1219,7 @@ void CBasePlayer::WaterMove()
@@ -1217,6 +1219,7 @@ void CBasePlayer::WaterMove()
|
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if( pev->watertype == CONTENT_LAVA ) // do damage
|
|
|
|
|
{ |
|
|
|
|