Adjusts to also hide impossible item silhouettes

This commit is contained in:
Mark Suckerberg
2025-12-30 17:53:57 -06:00
parent 2d2faebd10
commit 0f4ba92de5
2 changed files with 5 additions and 4 deletions

View File

@@ -115,7 +115,7 @@ namespace game::window
ImGui::PushItemWidth(100);
for (int i = 0; i < Item::ITEM_COUNT; i++)
{
if (i == Item::INVALID) continue;
if (Item::CATEGORIES[i] == Item::INVALID) continue;
ImGui::PushID(i);
//TODO: Probably a cleaner way to do this, maybe