1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Merge pull request #3588 from IvanSavenko/fix_regressions

Fix regressions
This commit is contained in:
Ivan Savenko
2024-02-01 22:27:52 +02:00
committed by GitHub
5 changed files with 15 additions and 4 deletions

View File

@@ -3707,8 +3707,8 @@ bool CGameHandler::dig(const CGHeroInstance *h)
{
ArtifactID grail = ArtifactID::GRAIL;
iw.text.appendLocalString(EMetaText::GENERAL_TXT, 58); //"Congratulations! After spending many hours digging here, your hero has uncovered the "
iw.text.replaceName(grail);
iw.text.appendLocalString(EMetaText::GENERAL_TXT, 58); //"Congratulations! After spending many hours digging here, your hero has uncovered the " ...
iw.text.appendName(grail); // ... " The Grail"
iw.soundID = soundBase::ULTIMATEARTIFACT;
giveHeroNewArtifact(h, grail.toArtifact(), ArtifactPosition::FIRST_AVAILABLE); //give grail
sendAndApply(&iw);