mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-06-21 17:25:41 +00:00
TU24
This commit is contained in:
@@ -329,7 +329,7 @@ void UIScene_BeaconMenu::customDraw(IggyCustomDrawCallbackRegion *region)
|
||||
|
||||
shared_ptr<ItemInstance> item = nullptr;
|
||||
int slotId = -1;
|
||||
swscanf_s(static_cast<wchar_t *>(region->name),L"slot_%d",&slotId);
|
||||
swscanf(static_cast<wchar_t *>(region->name),L"slot_%d",&slotId);
|
||||
|
||||
if(slotId >= 0 && slotId >= m_menu->getSize() )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user