Ivan Savenko 1 年之前
父节点
当前提交
b6c22b2053
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/mapObjects/CGDwelling.cpp

+ 1 - 1
lib/mapObjects/CGDwelling.cpp

@@ -424,7 +424,7 @@ void CGDwelling::heroAcceptsCreatures( const CGHeroInstance *h) const
 		if(count) //there are available creatures
 		{
 
-			if (VLC->settings()->getBoolean(EGameSettings::DWELLINGS_ACCUMULATE_WHEN_OWNED))
+			if (VLC->settings()->getBoolean(EGameSettings::DWELLINGS_MERGE_ON_RECRUIT))
 			{
 				SlotID testSlot = h->getSlotFor(crid);
 				if(!testSlot.validSlot()) //no available slot - try merging army of visiting hero