mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +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:
@@ -234,7 +234,7 @@ void CQuest::getRolloverText (MetaString &ms, bool onHover) const
|
|||||||
switch (missionType)
|
switch (missionType)
|
||||||
{
|
{
|
||||||
case MISSION_LEVEL:
|
case MISSION_LEVEL:
|
||||||
ms.addReplacement(m13489val);
|
ms.addReplacement(boost::lexical_cast<std::string>(m13489val));
|
||||||
break;
|
break;
|
||||||
case MISSION_PRIMARY_STAT:
|
case MISSION_PRIMARY_STAT:
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user