mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Fix crash on miniHillFort popup window
This commit is contained in:
@ -1337,7 +1337,7 @@ std::string HillFort::getPopupText(PlayerColor player) const
|
||||
{
|
||||
MetaString message = MetaString::createFromRawString("{%s}\r\n\r\n%s");
|
||||
|
||||
message.replaceName(ID);
|
||||
message.replaceName(ID, subID);
|
||||
message.replaceTextID(getDescriptionToolTip());
|
||||
|
||||
return message.toString();
|
||||
|
Reference in New Issue
Block a user