mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-03 13:01:33 +02:00
Merge pull request #300 from Chocimier/iss1761
Correctly display visiting army in kingdom overview, fixes #1761
This commit is contained in:
commit
bdb0db819d
@ -426,8 +426,7 @@ void CGarrisonInt::createSlots()
|
||||
garrisonSlots[j] = new CGarrisonSlot(this, i*garOffset.x + (j*distance), i*garOffset.y, SlotID(j), static_cast<CGarrisonSlot::EGarrisonType>(i), nullptr);
|
||||
if (twoRows && j>=4)
|
||||
{
|
||||
garrisonSlots[j]->pos.x -= 326;
|
||||
garrisonSlots[j]->pos.y += 37;
|
||||
garrisonSlots[j]->moveBy(Point(-126, 37));
|
||||
}
|
||||
}
|
||||
std::copy(garrisonSlots.begin(), garrisonSlots.end(), std::back_inserter(availableSlots));
|
||||
|
Loading…
x
Reference in New Issue
Block a user