1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

fix creating "creatures perished" battle log entry

This commit is contained in:
Andrey Filipenkov
2022-09-21 10:38:42 +03:00
parent 1313da191b
commit b95841dabb

View File

@@ -1306,8 +1306,8 @@ void CGameHandler::addGenericKilledLog(BattleLogMessage & blm, const CStack * de
txt % (multiple ? VLC->generaltexth->allTexts[42] : defender->getCreature()->nameSing); // creature perishes txt % (multiple ? VLC->generaltexth->allTexts[42] : defender->getCreature()->nameSing); // creature perishes
} }
MetaString line; MetaString line;
line.addReplacement(txt.str()); line << txt.str();
blm.lines.push_back(line); blm.lines.push_back(std::move(line));
} }
} }