mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Rename hero strings to text id
This commit is contained in:
@@ -571,7 +571,7 @@ void CMapFormatJson::serializePlayerInfo(JsonSerializeFormat & handler)
|
||||
if(instanceName == info.mainHeroInstance)
|
||||
{
|
||||
//this is main hero
|
||||
info.mainCustomHeroName = hname.heroName;
|
||||
info.mainCustomHeroNameTextId = hname.heroName;
|
||||
info.hasRandomHero = (hname.heroId == -1);
|
||||
info.mainCustomHeroId = hname.heroId;
|
||||
info.mainCustomHeroPortrait = -1;
|
||||
|
||||
Reference in New Issue
Block a user