mirror of
https://github.com/fortressforever/fortressforever-2013.git
synced 2024-11-22 20:41:14 +00:00
Fix for detection of sharking that I broke (water level <= waist level, not < waist level)
This commit is contained in:
parent
9818913608
commit
2b4a3ce44b
1 changed files with 1 additions and 1 deletions
|
@ -1456,7 +1456,7 @@ void CGameMovement::WaterMove( void )
|
|||
if (speed)
|
||||
{
|
||||
// FF --> Different water frictions for jump key held (sharking) vs not
|
||||
bool bIsSharking = player->GetWaterLevel() < WL_Waist && mv->m_nButtons & IN_JUMP;
|
||||
bool bIsSharking = player->GetWaterLevel() <= WL_Waist && mv->m_nButtons & IN_JUMP;
|
||||
float flWaterFriction = bIsSharking ? SV_SHARKINGFRICTION : sv_friction.GetFloat();
|
||||
// FF <--
|
||||
|
||||
|
|
Loading…
Reference in a new issue