summaryrefslogtreecommitdiffstats
path: root/src/Render.cpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-01-03 17:47:11 +0100
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-01-13 03:39:33 +0100
commitbdc3f4a198c3f047389b159e67f7e6131e053ea6 (patch)
treec0f473147116e4ba0fed8cfb5f9780982b5a3c8c /src/Render.cpp
parentFixed CMake error (diff)
downloadAltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.tar
AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.tar.gz
AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.tar.bz2
AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.tar.lz
AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.tar.xz
AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.tar.zst
AltCraft-bdc3f4a198c3f047389b159e67f7e6131e053ea6.zip
Diffstat (limited to 'src/Render.cpp')
-rw-r--r--src/Render.cpp2
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());