diff --git a/config/objects/creatureBanks.json b/config/objects/creatureBanks.json index cfcaf2a7a..ffb7a9c79 100644 --- a/config/objects/creatureBanks.json +++ b/config/objects/creatureBanks.json @@ -636,6 +636,11 @@ "shipwreck" : { "index" :85, "handler": "bank", + "base" : { + "sounds" : { + "visit" : ["ROGUE"] + } + }, "types" : { "shipwreck" : { "index" : 0, @@ -730,6 +735,11 @@ "derelictShip" : { "index" :24, "handler": "bank", + "base" : { + "sounds" : { + "visit" : ["ROGUE"] + } + }, "types" : { "derelictShip" : { "index" : 0, diff --git a/lib/mapObjects/CBank.cpp b/lib/mapObjects/CBank.cpp index ff00fc9b3..b550ed382 100644 --- a/lib/mapObjects/CBank.cpp +++ b/lib/mapObjects/CBank.cpp @@ -238,7 +238,7 @@ void CBank::doVisit(const CGHeroInstance * hero) const } cb->giveHeroBonus(&gbonus); iw.components.emplace_back(ComponentType::MORALE, -1); - iw.soundID = soundBase::GRAVEYARD; + iw.soundID = soundBase::invalid; break; } case Obj::PYRAMID: