mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-07-07 13:58:10 +00:00
Remove WinAPI object pointers from XUI scenes
This commit is contained in:
@@ -39,7 +39,7 @@ HRESULT CXuiSceneCraftingPanel::OnInit( XUIMessageInit* pInitData, BOOL& bHandle
|
||||
m_bIgnoreKeyPresses=true;
|
||||
|
||||
D3DXVECTOR3 vec;
|
||||
VOID *pObj;
|
||||
void *pObj;
|
||||
CraftingPanelScreenInput* pCraftingPanelData = (CraftingPanelScreenInput*)pInitData->pvInitData;
|
||||
m_iContainerType=pCraftingPanelData->iContainerType;
|
||||
m_pPlayer=pCraftingPanelData->player;
|
||||
@@ -633,4 +633,4 @@ void CXuiSceneCraftingPanel::updateVSlotPositions(int iSlots, int i)
|
||||
vec.x=m_vSlot0Pos.x + m_iCurrentSlotHIndex*m_fSlotSize;
|
||||
vec.z=0.0f;
|
||||
m_pVSlotsBrushImageControl[i]->SetPosition(&vec);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user