Another step to make STK more lively in the audio department : add a sound when receiving a plunger in the face
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11740 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
9b97633fac
commit
68fdb1b971
@ -190,6 +190,8 @@ bool Plunger::hit(AbstractKart *kart, PhysicalObject *obj)
|
||||
if(kart)
|
||||
{
|
||||
kart->blockViewWithPlunger();
|
||||
if (kart->getController()->isPlayerController())
|
||||
sfx_manager->quickSound("plunger");
|
||||
|
||||
hit_message += StringUtils::insertValues(getHitString(kart),
|
||||
core::stringw(kart->getName()),
|
||||
|
Loading…
Reference in New Issue
Block a user