summaryrefslogtreecommitdiff
path: root/internal_rewrite/prediction.cpp
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2018-08-30 22:58:37 +0200
committernavewindre <boneyaard@gmail.com>2018-08-30 22:58:37 +0200
commit1f3f1ab2a20c6d90189cf1fd03cfbb08077bc02e (patch)
tree04595c6b6bb31b43811270961668dae2f8c9ed61 /internal_rewrite/prediction.cpp
parentc4e18b4e500dc603fb7546b7bc9bc574fb09e0a8 (diff)
dsad
Diffstat (limited to 'internal_rewrite/prediction.cpp')
-rw-r--r--internal_rewrite/prediction.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal_rewrite/prediction.cpp b/internal_rewrite/prediction.cpp
index 32a30ae..233fb62 100644
--- a/internal_rewrite/prediction.cpp
+++ b/internal_rewrite/prediction.cpp
@@ -819,6 +819,7 @@ void c_prediction::run_command( user_cmd_t *ucmd ) {
ucmd->m_forwardmove = backup_forwardmove;
ucmd->m_sidemove = backup_sidemove;
+ ucmd->m_buttons = backup_buttons;
if( auto wep = g_ctx.m_local->get_weapon( ) ) {
wep->update_accuracy_penalty( );