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

fix clone immunity handling for 8+ level creatures, part of issue #1234.

This commit is contained in:
alexvins
2013-03-10 16:16:43 +00:00
parent b413d80ccc
commit b5612624fb
2 changed files with 27 additions and 12 deletions

View File

@@ -299,12 +299,12 @@ void CBonusTypeHandler::load(const JsonNode& config)
if(it == bonusNameMap.end())
{
//TODO: new bonus
CBonusType bt;
loadItem(node.second, bt);
auto new_id = bonusTypes.size();
bonusTypes.push_back(bt);
// CBonusType bt;
// loadItem(node.second, bt);
//
// auto new_id = bonusTypes.size();
//
// bonusTypes.push_back(bt);
tlog2 << "Adding new bonuses not implemented (" << node.first << ")" << std::endl;
}