diff --git a/common/src/comp/controller.rs b/common/src/comp/controller.rs index d157b87853..fafd138da2 100644 --- a/common/src/comp/controller.rs +++ b/common/src/comp/controller.rs @@ -101,6 +101,7 @@ pub enum UtteranceKind { Calm, Angry, Surprised, + Hurt, } #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] diff --git a/common/systems/src/controller.rs b/common/systems/src/controller.rs index c576e22dc6..2aea04b55a 100644 --- a/common/systems/src/controller.rs +++ b/common/systems/src/controller.rs @@ -104,7 +104,7 @@ impl<'a> System<'a> for Sys { ) { let sound = Sound::new( SoundKind::Utterance(kind, *body), - pos.0, + pos.0 + Vec3::unit_z() * body.eye_height(), 8.0, // TODO: Come up with a better way of determining this 1.0, );