1
0
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:
Ivan Savenko 2023-11-27 23:20:24 +02:00
parent d5f8db2222
commit 5df53f6ea2

View File

@ -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)
{