Server: disable view punch by default

View punch on player in Hip is also disabled in retail apparently. Reflect behavior in SDK.
This commit is contained in:
Kawe Mazidjatari 2024-08-08 14:32:21 +02:00
parent 55c230aab8
commit c4ac63ed69

View File

@ -195,7 +195,7 @@ void CPlayer::SetLastUserCommand(CUserCmd* pUserCmd)
m_LastCmd.Copy(pUserCmd);
}
static ConVar player_applyViewPunch("player_applyViewPunch", "1", FCVAR_RELEASE, "Whether to apply view punch from damage.");
static ConVar player_applyViewPunch("player_applyViewPunch", "0", FCVAR_RELEASE, "Whether to apply view punch from damage.");
static ConVar player_applyViewPunchDuringAim("player_applyViewPunchDuringAim", "0", FCVAR_RELEASE, "Whether to apply view punch from damage while aiming.");
//------------------------------------------------------------------------------