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 9b0f11bd8922491bf2c2a9b4422d59982b227564. It wasn't better.
This commit is contained in:
parent
81206519bf
commit
1ae002e695
@ -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…
x
Reference in New Issue
Block a user