diff options
| author | boris <wzn@moneybot.cc> | 2018-12-24 20:39:16 +1300 |
|---|---|---|
| committer | boris <wzn@moneybot.cc> | 2018-12-24 20:39:16 +1300 |
| commit | cac146640ad99309329119ceb264542de12bc9aa (patch) | |
| tree | c853c09991593b60b0249e4a237bb898432c220c /cheat/internal_rewrite/context.cpp | |
| parent | ace9ae2117175dfe5e14b259db2e0536f8ec7a8a (diff) | |
| parent | f41bf6509390f12a4252f40daf0209e7a7d64666 (diff) | |
Merge remote-tracking branch 'origin/master'
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 ); |
