mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-19 21:10:12 +02:00
Add 'newBuilding' sound upon hero recruitment in towns
This commit is contained in:
parent
658c359bc7
commit
c2ddf8e06a
@ -427,6 +427,8 @@ void CPlayerInterface::heroCreated(const CGHeroInstance * hero)
|
||||
EVENT_HANDLER_CALLED_BY_CLIENT;
|
||||
localState->addWanderingHero(hero);
|
||||
adventureInt->onHeroChanged(hero);
|
||||
if(castleInt)
|
||||
CCS->soundh->playSound(soundBase::newBuilding);
|
||||
}
|
||||
void CPlayerInterface::openTownWindow(const CGTownInstance * town)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user