diff options
| author | navewindre <boneyaard@gmail.com> | 2018-08-31 18:57:02 +0200 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2018-08-31 18:57:02 +0200 |
| commit | 78a6e235c3b0006bf29868d5f7ad0628d522fa79 (patch) | |
| tree | a5bf8ca0005794f717f70c1428a8a1e1d69e9521 /internal_rewrite/lag_mgr.cpp | |
| parent | 1f3f1ab2a20c6d90189cf1fd03cfbb08077bc02e (diff) | |
ah yes
Diffstat (limited to 'internal_rewrite/lag_mgr.cpp')
| -rw-r--r-- | internal_rewrite/lag_mgr.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/internal_rewrite/lag_mgr.cpp b/internal_rewrite/lag_mgr.cpp index 72ad8c4..ed01568 100644 --- a/internal_rewrite/lag_mgr.cpp +++ b/internal_rewrite/lag_mgr.cpp @@ -127,6 +127,12 @@ namespace features } } + if( settings.jump_reset ) { + if( was_onground && !( g_ctx.m_local->m_fFlags( ) & FL_ONGROUND ) ) { + send = get_choked( ) > 0; + } + } + was_onground = g_ctx.m_local->m_fFlags( ) & FL_ONGROUND; if( ( m_cmd->m_buttons & IN_ATTACK ) && g_ctx.m_local->can_attack( ) && |
