mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
fixed multiple fire problem
This commit is contained in:
parent
ff1d4efb04
commit
c1dec5683b
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue