mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-09 11:31:23 +00:00
Update tf_gamemovement.cpp
This commit is contained in:
parent
392da90c5e
commit
2fd04ffce6
1 changed files with 1 additions and 1 deletions
|
@ -1142,7 +1142,7 @@ void CTFGameMovement::ToggleParachute()
|
|||
}
|
||||
else
|
||||
{
|
||||
bool bOnGround = ( player->GetGroundEntity() != NULL );
|
||||
bool bOnGround = ( m_pTFPlayer->GetFlags() & FL_ONGROUND );
|
||||
int iParachuteDisabled = 0;
|
||||
CALL_ATTRIB_HOOK_INT_ON_OTHER( m_pTFPlayer, iParachuteDisabled, parachute_disabled );
|
||||
if ( !bOnGround && !iParachuteDisabled && ( tf_parachute_deploy_toggle_allowed.GetBool() || !m_pTFPlayer->m_Shared.InCond( TF_COND_PARACHUTE_DEPLOYED ) ) )
|
||||
|
|
Loading…
Reference in a new issue