mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Revert "Do that better, and add a TODO."
This reverts commit 9b0f11bd89
.
It wasn't better.
This commit is contained in:
parent
0456016265
commit
daa0a10c2c
@ -157,10 +157,11 @@ impl MovementEventMapper {
|
||||
{
|
||||
if let Some(wield_event) = match (
|
||||
previous_event.weapon_drawn,
|
||||
current_event.action.is_roll(),
|
||||
Self::has_weapon_drawn(current_event.action),
|
||||
) {
|
||||
(false, true) => Some(SfxEvent::Wield(kind)),
|
||||
(true, false) => Some(SfxEvent::Unwield(kind)),
|
||||
(false, false, true) => Some(SfxEvent::Wield(kind)),
|
||||
(true, false, false) => Some(SfxEvent::Unwield(kind)),
|
||||
_ => None,
|
||||
} {
|
||||
return wield_event;
|
||||
|
Loading…
Reference in New Issue
Block a user