diff options
Diffstat (limited to '')
-rw-r--r-- | src/Render.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Render.cpp b/src/Render.cpp index 1e7f45c..a5f1e8b 100644 --- a/src/Render.cpp +++ b/src/Render.cpp @@ -389,7 +389,7 @@ void Render::RenderGui() { break; } case State::Inventory: { - auto renderSlot = [](const SlotData &slot, int i) -> bool { + auto renderSlot = [](const SlotDataType &slot, int i) -> bool { return ImGui::Button(((slot.BlockId == -1 ? " ##" : AssetManager::Instance().GetAssetNameByBlockId(BlockId{ (unsigned short)slot.BlockId,0 }) + " x" + std::to_string(slot.ItemCount) + "##") + std::to_string(i)).c_str()); |