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
No known key found for this signature in database
GPG Key ID: 4953DADF9B6AD3C8
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.
Helmet(actor::Head),
Shoulders(actor::Shoulder),
ChestPlate(actor::Chest),
Chestplate(actor::Chest),
Belt(actor::Belt),
Gloves(actor::Hand),
Pants(actor::Pants),

View File

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