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:
@ -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.
|
//TODO: Don't make armor be a body part. Wearing enemy's head is funny but also creepy thing to do.
|
||||||
Helmet(actor::Head),
|
Helmet(actor::Head),
|
||||||
Shoulders(actor::Shoulder),
|
Shoulders(actor::Shoulder),
|
||||||
ChestPlate(actor::Chest),
|
Chestplate(actor::Chest),
|
||||||
Belt(actor::Belt),
|
Belt(actor::Belt),
|
||||||
Gloves(actor::Hand),
|
Gloves(actor::Hand),
|
||||||
Pants(actor::Pants),
|
Pants(actor::Pants),
|
||||||
|
@ -315,7 +315,7 @@ impl Ui {
|
|||||||
}
|
}
|
||||||
// Primitives still left to draw ingame
|
// Primitives still left to draw ingame
|
||||||
Placement::InWorld(num_prims, res) => match kind {
|
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(_) => {}
|
PrimitiveKind::Other(_) => {}
|
||||||
// Decrement the number of primitives left
|
// Decrement the number of primitives left
|
||||||
_ => placement = Placement::InWorld(num_prims - 1, res),
|
_ => placement = Placement::InWorld(num_prims - 1, res),
|
||||||
|
Reference in New Issue
Block a user