1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

Quest Log: fix text for quests with minimal level requirement

This is needed because m13478val is ui32 while translation expect %s string.
This commit is contained in:
ArseniyShestakov 2015-02-16 00:53:44 +03:00
parent df2894b798
commit 43f1e37546

View File

@ -234,7 +234,7 @@ void CQuest::getRolloverText (MetaString &ms, bool onHover) const
switch (missionType)
{
case MISSION_LEVEL:
ms.addReplacement(m13489val);
ms.addReplacement(boost::lexical_cast<std::string>(m13489val));
break;
case MISSION_PRIMARY_STAT:
{