Fixed training dummy hitbox

This commit is contained in:
Joshua Barretto
2021-03-29 19:26:11 +01:00
parent 8f3233365d
commit 85237c7a32
2 changed files with 2 additions and 0 deletions

View File

@ -297,6 +297,7 @@ impl Body {
Body::BipedSmall(_) => 1.4, Body::BipedSmall(_) => 1.4,
Body::Object(object) => match object { Body::Object(object) => match object {
object::Body::Crossbow => 1.7, object::Body::Crossbow => 1.7,
object::Body::TrainingDummy => 2.2,
_ => 1.0, _ => 1.0,
}, },
Body::Ship(_) => 1.0, Body::Ship(_) => 1.0,

View File

@ -289,6 +289,7 @@ impl SfxMgr {
); );
} }
#[allow(clippy::single_match)]
pub fn handle_outcome( pub fn handle_outcome(
&mut self, &mut self,
outcome: &Outcome, outcome: &Outcome,