fix: accidentally declared static in the implementation

This commit is contained in:
Tropical
2026-03-12 03:14:32 -05:00
parent 3a44eab5c0
commit 253fce563f
3 changed files with 3 additions and 2 deletions

View File

@@ -120,7 +120,7 @@ void UIScene_DebugOverlay::customDraw(IggyCustomDrawCallbackRegion *region)
if(pMinecraft->localplayers[m_iPad] == NULL || pMinecraft->localgameModes[m_iPad] == NULL) return;
int itemId = -1;
// 4jcraft: TODO: UB on our platform since this casts char16_t* to wchar_t*
// 4jcraft TODO: UB on our platform since this casts char16_t* to wchar_t*
swscanf((wchar_t*)region->name,L"item_%d",&itemId);
if (itemId == -1 || itemId > Item::ITEM_NUM_COUNT || Item::items[itemId] == NULL)
{