make exchange slot available as 'hud.exchange-slot'
This commit is contained in:
parent
1c777746a0
commit
371aaaa9f5
@ -469,6 +469,7 @@ void Hud::showExchangeSlot() {
|
|||||||
gui,
|
gui,
|
||||||
SlotLayout(-1, glm::vec2(), false, false, nullptr, nullptr, nullptr)
|
SlotLayout(-1, glm::vec2(), false, false, nullptr, nullptr, nullptr)
|
||||||
);
|
);
|
||||||
|
exchangeSlot->setId("hud.exchange-slot");
|
||||||
exchangeSlot->bind(exchangeSlotInv->getId(), exchangeSlotInv->getSlot(0), &content);
|
exchangeSlot->bind(exchangeSlotInv->getId(), exchangeSlotInv->getSlot(0), &content);
|
||||||
exchangeSlot->setColor(glm::vec4());
|
exchangeSlot->setColor(glm::vec4());
|
||||||
exchangeSlot->setInteractive(false);
|
exchangeSlot->setInteractive(false);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user