1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

Important fix

This commit is contained in:
AlexVinS 2016-08-15 08:59:53 +03:00
parent 681b3c7078
commit 55e27a6334

View File

@ -712,6 +712,9 @@ CBonusSystemNode::CBonusSystemNode(CBonusSystemNode && other):
cachedLast(0)
{
//todo: move constructor for bonuslist
other.bonuses.clear();
other.exportedBonuses.clear();
bonuses.belongsToTree = true;
exportedBonuses.belongsToTree = true;