mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2026-08-03 20:24:36 +02:00
Server flipped viewmodels consistent with client
This commit is contained in:
@@ -10278,7 +10278,7 @@ void CTFGameRules::ClientSettingsChanged( CBasePlayer *pPlayer )
|
||||
|
||||
pTFPlayer->SetDefaultFOV( iFov );
|
||||
|
||||
pTFPlayer->m_bFlipViewModels = Q_strcmp( engine->GetClientConVarValue( pPlayer->entindex(), "cl_flipviewmodels" ), "1" ) == 0;
|
||||
pTFPlayer->m_bFlipViewModels = Q_atoi( engine->GetClientConVarValue( pPlayer->entindex(), "cl_flipviewmodels" ) ) > 0;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user