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

Fix quest texts accessing

This commit is contained in:
Ivan Savenko 2023-01-10 16:24:59 +02:00
parent 76540bd960
commit 5e72ef76cf

View File

@ -588,7 +588,7 @@ void CGSeerHut::initObj(CRandomGenerator & rand)
quest->progress = CQuest::NOT_ACTIVE;
if(quest->missionType)
{
std::string questName = quest->missionName(CQuest::Emission(quest->missionType-1));
std::string questName = quest->missionName(quest->missionType);
if(!quest->isCustomFirst)
quest->firstVisitText = VLC->generaltexth->translate("core.seerhut.quest." + questName + "." + quest->missionState(0), quest->textOption);