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:
parent
fba4298b07
commit
718a90e009
@ -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
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user