mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
resolved comments
This commit is contained in:
parent
9ff816f006
commit
25a9d5bf2f
@ -45,8 +45,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Added a silhouette for players when they are occluded
|
||||
- Added transparency to the player when zooming in
|
||||
- Made armor and hotbar slots actually function
|
||||
- Added dragging and right-click to use functionality to inventory, armor, & hotbar slotskillbars
|
||||
- Added capes, lanterns, and more armor items
|
||||
- Added dragging and right-click to use functionality to inventory, armor & hotbar slots
|
||||
- Added capes, lanterns, tabards, rings, helmets & necklaces as equippable armor
|
||||
|
||||
### Changed
|
||||
|
||||
|
@ -31,7 +31,7 @@ impl State {
|
||||
}
|
||||
}
|
||||
|
||||
/// Returns true is the button was just pressed
|
||||
/// Returns true if the button was just pressed
|
||||
pub fn process_input(&mut self, slot: Slot, state: bool) -> bool {
|
||||
let slot = slot as usize;
|
||||
let just_pressed = !self.inputs[slot] && state;
|
||||
|
Loading…
Reference in New Issue
Block a user