Add nolok hammer sound

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11545 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2012-09-05 00:19:08 +00:00
parent fba4298b07
commit 718a90e009

View File

@ -81,7 +81,11 @@ Swatter::Swatter(AbstractKart *kart, bool was_bomb,
{
m_scene_node->setAnimationSpeed(0);
}
m_swat_sound = sfx_manager->createSoundSource("swatter");
if (kart->getIdent() == "nolok")
m_swat_sound = sfx_manager->createSoundSource("hammer");
else
m_swat_sound = sfx_manager->createSoundSource("swatter");
} // Swatter
// ----------------------------------------------------------------------------