1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

Fix build

This commit is contained in:
Ivan Savenko
2023-06-19 00:25:21 +03:00
parent d4728f78ce
commit 9b5e81929f
5 changed files with 15 additions and 8 deletions

View File

@@ -300,6 +300,11 @@ void MetaString::replaceCreatureName(const CStackBasicDescriptor & stack)
replaceCreatureName(stack.type->getId(), stack.count);
}
bool MetaString::operator == (const MetaString & other) const
{
return message == other.message && localStrings == other.localStrings && exactStrings == other.exactStrings && stringsTextID == other.stringsTextID && numbers == other.numbers;
}
void MetaString::jsonSerialize(JsonNode & dest) const
{
JsonNode jsonMessage;