mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Hota compatibility fix - allow stack selection border to have different
size than creature icon
This commit is contained in:
parent
d5f8db2222
commit
5df53f6ea2
@ -432,6 +432,7 @@ CGarrisonSlot::CGarrisonSlot(CGarrisonInt * Owner, int x, int y, SlotID IID, EGa
|
||||
|
||||
selectionImage = std::make_shared<CAnimImage>(graphics->getAnimation(imgName), 1);
|
||||
selectionImage->disable();
|
||||
selectionImage->center(creatureImage->pos.center());
|
||||
|
||||
if(Owner->smallIcons)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user