From c1dec5683bfe2dbf07e5489bc4e5f7fbe22ad35c Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Tue, 23 Sep 2008 08:55:49 +0000 Subject: [PATCH] fixed multiple fire problem --- src/game/server/entities/character.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/game/server/entities/character.cpp b/src/game/server/entities/character.cpp index 362eecf00..2a749275d 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()