@@ -3159,7 +3159,7 @@ bool CQuest::checkQuest (const CGHeroInstance * h) const
void CGSeerHut::initObj()
{
- seerName = & (VLC->generaltexth->seerNames[ran()%VLC->generaltexth->seerNames.size()]);
+ seerName = VLC->generaltexth->seerNames[ran()%VLC->generaltexth->seerNames.size()];
}
const std::string & CGSeerHut::getHoverText() const
@@ -594,7 +594,7 @@ public:
si32 rID; //reward ID
si32 rVal; //reward value
ui8 textOption; //store randomized mission write-ups rather than entire string (?)
- std::string * seerName;
+ std::string seerName;
void initObj();
const std::string & getHoverText() const;