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:
parent
76540bd960
commit
5e72ef76cf
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user