mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-09 14:08:59 +00:00
fix: accidentally declared static in the implementation
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user