Reverts one erroneous change, further corrects another comment.

This commit is contained in:
Cody
2019-06-01 00:52:20 -04:00
parent 609742f8fa
commit 04d4dc1da5
2 changed files with 2 additions and 2 deletions

View File

@ -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),

View File

@ -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),