mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Reverts one erroneous change, further corrects another comment.
This commit is contained in:
parent
609742f8fa
commit
04d4dc1da5
@ -6,7 +6,7 @@ pub enum Armor {
|
||||
//TODO: Don't make armor be a body part. Wearing enemy's head is funny but also creepy thing to do.
|
||||
Helmet(actor::Head),
|
||||
Shoulders(actor::Shoulder),
|
||||
ChestPlate(actor::Chest),
|
||||
Chestplate(actor::Chest),
|
||||
Belt(actor::Belt),
|
||||
Gloves(actor::Hand),
|
||||
Pants(actor::Pants),
|
||||
|
@ -315,7 +315,7 @@ impl Ui {
|
||||
}
|
||||
// Primitives still left to draw ingame
|
||||
Placement::InWorld(num_prims, res) => match kind {
|
||||
// Other types don't aren't drawn & shouldn't decrement the number of primitives left to draw ingame
|
||||
// Other types aren't drawn & shouldn't decrement the number of primitives left to draw ingame
|
||||
PrimitiveKind::Other(_) => {}
|
||||
// Decrement the number of primitives left
|
||||
_ => placement = Placement::InWorld(num_prims - 1, res),
|
||||
|
Loading…
Reference in New Issue
Block a user