mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Ruin them again (the comments)
This commit is contained in:
parent
4e18ffe6c2
commit
dc33f6ad6a
@ -111,7 +111,6 @@ impl ActionState {
|
|||||||
Idle(opt_state) => opt_state
|
Idle(opt_state) => opt_state
|
||||||
.unwrap_or_else(|| IdleState::new(ecs_data))
|
.unwrap_or_else(|| IdleState::new(ecs_data))
|
||||||
.handle(ecs_data),
|
.handle(ecs_data),
|
||||||
//
|
|
||||||
// All states should be explicitly handled
|
// All states should be explicitly handled
|
||||||
// Do not use default match: _ => {},
|
// Do not use default match: _ => {},
|
||||||
}
|
}
|
||||||
@ -132,7 +131,6 @@ impl ActionState {
|
|||||||
},
|
},
|
||||||
Wield(_) => false,
|
Wield(_) => false,
|
||||||
Idle(_) => false,
|
Idle(_) => false,
|
||||||
//
|
|
||||||
// All states should be explicitly handled
|
// All states should be explicitly handled
|
||||||
// Do not use default match: _ => {},
|
// Do not use default match: _ => {},
|
||||||
}
|
}
|
||||||
@ -156,7 +154,6 @@ impl MoveState {
|
|||||||
Swim(_) => false,
|
Swim(_) => false,
|
||||||
Fall(_) => false,
|
Fall(_) => false,
|
||||||
Sit(_) => true,
|
Sit(_) => true,
|
||||||
//
|
|
||||||
// All states should be explicitly handled
|
// All states should be explicitly handled
|
||||||
// Do not use default match: _ => {},
|
// Do not use default match: _ => {},
|
||||||
}
|
}
|
||||||
@ -191,7 +188,6 @@ impl MoveState {
|
|||||||
Sit(opt_state) => opt_state
|
Sit(opt_state) => opt_state
|
||||||
.unwrap_or_else(|| SitState::new(ecs_data))
|
.unwrap_or_else(|| SitState::new(ecs_data))
|
||||||
.handle(ecs_data),
|
.handle(ecs_data),
|
||||||
//
|
|
||||||
// All states should be explicitly handled
|
// All states should be explicitly handled
|
||||||
// Do not use default match: _ => {},
|
// Do not use default match: _ => {},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user