mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fix typo
This commit is contained in:
parent
ea93da62da
commit
b6c22b2053
@ -424,7 +424,7 @@ void CGDwelling::heroAcceptsCreatures( const CGHeroInstance *h) const
|
|||||||
if(count) //there are available creatures
|
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);
|
SlotID testSlot = h->getSlotFor(crid);
|
||||||
if(!testSlot.validSlot()) //no available slot - try merging army of visiting hero
|
if(!testSlot.validSlot()) //no available slot - try merging army of visiting hero
|
||||||
|
Loading…
Reference in New Issue
Block a user