diff options
Diffstat (limited to 'src/game/server/entities/character.cpp')
| -rw-r--r-- | src/game/server/entities/character.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/server/entities/character.cpp b/src/game/server/entities/character.cpp index 362eecf0..2a749275 100644 --- a/src/game/server/entities/character.cpp +++ b/src/game/server/entities/character.cpp @@ -508,6 +508,8 @@ void CHARACTER::on_direct_input(NETOBJ_PLAYER_INPUT *new_input) handle_weaponswitch(); fire_weapon(); } + + mem_copy(&latest_previnput, &latest_input, sizeof(latest_input)); } void CHARACTER::tick() |