mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
Compile fix.
This commit is contained in:
parent
7f072665b2
commit
7c9f0eb19f
@ -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
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user