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