diff options
| author | navewindre <boneyaard@gmail.com> | 2018-12-23 17:08:57 +0100 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2018-12-23 17:08:57 +0100 |
| commit | fef68b3881d7b1a60abe2be85dde27b7b0ada3c3 (patch) | |
| tree | 894a486c940cb4708053061638c8a936c8ef1af7 /cheat/internal_rewrite/context.cpp | |
| parent | 8a6e64f020047709f53ddd35797c511a5d3239fe (diff) | |
d
Diffstat (limited to 'cheat/internal_rewrite/context.cpp')
| -rw-r--r-- | cheat/internal_rewrite/context.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 ); |
