diff options
-rw-r--r-- | src/client/soundext.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/client/soundext.cc b/src/client/soundext.cc index 7af0c4b..0fa8d54 100644 --- a/src/client/soundext.cc +++ b/src/client/soundext.cc @@ -209,12 +209,9 @@ void SoundExt::frame(float elapsed) if (entity->state() == core::Entity::Impulse) { pitch = 1.0f; gain = 1.0f; - } else if (entity->thrust() > 0) { + } else { pitch = 0.2f + entity->thrust() * 0.8f; gain = 1.0f; - if (entity->thrust() < 0.2f) { - gain *= entity->thrust() * 5.0f; - } } if (entity->state() == core::Entity::ImpulseInitiate) { |