mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Fix typos using https://github.com/crate-ci/typos
Changes were reviewed manually
This commit is contained in:
@@ -430,7 +430,7 @@ void CGDwelling::heroAcceptsCreatures( const CGHeroInstance *h) const
|
||||
if(!testSlot.validSlot()) //no available slot - try merging army of visiting hero
|
||||
{
|
||||
std::pair<SlotID, SlotID> toMerge;
|
||||
if (h->mergableStacks(toMerge))
|
||||
if (h->mergeableStacks(toMerge))
|
||||
{
|
||||
cb->moveStack(StackLocation(h, toMerge.first), StackLocation(h, toMerge.second), -1); //merge toMerge.first into toMerge.second
|
||||
assert(!h->hasStackAtSlot(toMerge.first)); //we have now a new free slot
|
||||
|
||||
Reference in New Issue
Block a user