From fef68b3881d7b1a60abe2be85dde27b7b0ada3c3 Mon Sep 17 00:00:00 2001 From: navewindre Date: Sun, 23 Dec 2018 17:08:57 +0100 Subject: d --- cheat/internal_rewrite/context.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cheat/internal_rewrite/context.cpp') diff --git a/cheat/internal_rewrite/context.cpp b/cheat/internal_rewrite/context.cpp index cec25ba..4de1479 100644 --- a/cheat/internal_rewrite/context.cpp +++ b/cheat/internal_rewrite/context.cpp @@ -30,8 +30,8 @@ void c_context::on_cmove_end( user_cmd_t* cmd ) { //m_last_realangle.x = m_last_fakeangle.x; } - if( g_cheat.m_lagmgr.get_choked( ) == 1 ) { - m_thirdperson_angle = m_last_realangle; + if( !g_cheat.m_lagmgr.get_state( ) ) { + m_thirdperson_angle = cmd->m_viewangles; } m_thirdperson_angle.x = std::clamp( cmd->m_viewangles.x, -89.f, 89.f ); -- cgit v1.2.3