This commit is contained in:
Alayan 2019-04-18 18:04:34 +02:00
parent ab18b6cba8
commit 5ec783db3d

View File

@ -2351,6 +2351,7 @@ void Kart::crashed(AbstractKart *k, bool update_attachments)
*/
void Kart::crashed(const Material *m, const Vec3 &normal)
{
if (m && !(m->getCollisionReaction() == Material::RESCUE))
playCrashSFX(m, NULL);
#ifdef DEBUG
// Simple debug output for people playing without sound.