1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-03 00:46:55 +02:00

Fixed #421 & #480. Some work on animations & sounds. Minor changes.

TODO: Interface should check game state before it's changed by triggered abilities of creatures.
This commit is contained in:
DjWarmonger
2011-05-15 06:37:57 +00:00
parent c6498d0af2
commit d4c2e55a00
5 changed files with 40 additions and 8 deletions

View File

@ -1375,7 +1375,7 @@ CStackBasicDescriptor CGHeroInstance::calculateNecromancy (const BattleResult &b
void CGHeroInstance::showNecromancyDialog(const CStackBasicDescriptor &raisedStack) const
{
InfoWindow iw;
iw.soundID = soundBase::GENIE;
iw.soundID = soundBase::treasure; //should be random from among resource sounds
iw.player = tempOwner;
iw.components.push_back(Component(raisedStack));