resolved comments

This commit is contained in:
Pfauenauge 2020-04-12 21:45:01 +02:00
parent 9ff816f006
commit 25a9d5bf2f
3 changed files with 4 additions and 4 deletions

View File

@ -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 a silhouette for players when they are occluded
- Added transparency to the player when zooming in - Added transparency to the player when zooming in
- Made armor and hotbar slots actually function - Made armor and hotbar slots actually function
- Added dragging and right-click to use functionality to inventory, armor, & hotbar slotskillbars - Added dragging and right-click to use functionality to inventory, armor & hotbar slots
- Added capes, lanterns, and more armor items - Added capes, lanterns, tabards, rings, helmets & necklaces as equippable armor
### Changed ### Changed

View File

@ -213,7 +213,7 @@ Viel Spaß in der Welt von Veloren, Abenteurer!"#,
"hud.bag.legs": "Beine", "hud.bag.legs": "Beine",
"hud.bag.feet": "Füße", "hud.bag.feet": "Füße",
"hud.bag.mainhand": "Haupthand", "hud.bag.mainhand": "Haupthand",
"hud.bag.offhand": "Nebenhand ", "hud.bag.offhand": "Nebenhand",
// Map and Questlog // Map and Questlog
"hud.map.map_title": "Karte", "hud.map.map_title": "Karte",

View File

@ -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 { pub fn process_input(&mut self, slot: Slot, state: bool) -> bool {
let slot = slot as usize; let slot = slot as usize;
let just_pressed = !self.inputs[slot] && state; let just_pressed = !self.inputs[slot] && state;