mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-29 21:56:54 +02:00
parent
2ed69d3f4d
commit
e0dc6573bf
@ -3271,14 +3271,19 @@ void CGSeerHut::initObj()
|
||||
seerName = VLC->generaltexth->seerNames[ran()%VLC->generaltexth->seerNames.size()];
|
||||
textOption = ran()%3;
|
||||
progress = 0;
|
||||
if (missionType && !isCustom)
|
||||
if (missionType)
|
||||
{
|
||||
if (!isCustom)
|
||||
{
|
||||
|
||||
firstVisitText = VLC->generaltexth->quests[missionType-1][0][textOption];
|
||||
nextVisitText = VLC->generaltexth->quests[missionType-1][1][textOption];
|
||||
completedText = VLC->generaltexth->quests[missionType-1][2][textOption];
|
||||
}
|
||||
}
|
||||
else
|
||||
firstVisitText = VLC->generaltexth->seerEmpty[textOption];
|
||||
|
||||
}
|
||||
|
||||
const std::string & CGSeerHut::getHoverText() const
|
||||
|
@ -1831,6 +1831,7 @@ void Mapa::readObjects( const unsigned char * bufor, int &i)
|
||||
nobj = new CGMagicWell();
|
||||
break;
|
||||
}
|
||||
case 15: //Cover of darkness
|
||||
case 58: //Redwood Observatory
|
||||
case 60: //Pillar of Fire
|
||||
{
|
||||
@ -2094,9 +2095,9 @@ void Mapa::loadQuest(CQuest * guard, const unsigned char * bufor, int & i)
|
||||
guard->nextVisitText = readString(bufor,i);
|
||||
guard->completedText = readString(bufor,i);
|
||||
if (guard->firstVisitText.size() && guard->nextVisitText.size() && guard->completedText.size())
|
||||
guard->isCustom = false; //randomize all if any text is missing
|
||||
else
|
||||
guard->isCustom = true;
|
||||
else
|
||||
guard->isCustom = false; //randomize all if any text is missing
|
||||
}
|
||||
|
||||
TerrainTile & Mapa::getTile( int3 tile )
|
||||
|
Loading…
x
Reference in New Issue
Block a user