1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00

Compile fix.

This commit is contained in:
Frank Zago 2010-01-27 05:11:31 +00:00
parent 7f072665b2
commit 7c9f0eb19f
2 changed files with 2 additions and 2 deletions

View File

@ -3159,7 +3159,7 @@ bool CQuest::checkQuest (const CGHeroInstance * h) const
void CGSeerHut::initObj() 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 const std::string & CGSeerHut::getHoverText() const

View File

@ -594,7 +594,7 @@ public:
si32 rID; //reward ID si32 rID; //reward ID
si32 rVal; //reward value si32 rVal; //reward value
ui8 textOption; //store randomized mission write-ups rather than entire string (?) ui8 textOption; //store randomized mission write-ups rather than entire string (?)
std::string * seerName; std::string seerName;
void initObj(); void initObj();
const std::string & getHoverText() const; const std::string & getHoverText() const;