fix: fixed Xbox 360 build issues
This commit is contained in:
@@ -60,7 +60,7 @@ HRESULT CXuiSceneInventoryCreative::OnInit( XUIMessageInit *pInitData, BOOL &bHa
|
||||
initData->player->awardStat(GenericStats::openInventory(), GenericStats::param_noArgs());
|
||||
|
||||
// 4J JEV - Item Picker Menu
|
||||
shared_ptr<SimpleContainer> creativeContainer = shared_ptr<SimpleContainer>(new SimpleContainer( 0, TabSpec::MAX_SIZE + 9 ));
|
||||
shared_ptr<SimpleContainer> creativeContainer = shared_ptr<SimpleContainer>(new SimpleContainer( 0, L"", false, TabSpec::MAX_SIZE + 9 ));
|
||||
itemPickerMenu = new ItemPickerMenu(creativeContainer, initData->player->inventory);
|
||||
|
||||
// 4J JEV - InitDataAssociations.
|
||||
@@ -140,12 +140,20 @@ CXuiControl* CXuiSceneInventoryCreative::GetSectionControl( ESceneSection eSecti
|
||||
{
|
||||
case eSectionInventoryCreativeUsing:
|
||||
return (CXuiControl *)m_useRowControl;
|
||||
break;
|
||||
case eSectionInventoryCreativeSelector:
|
||||
return (CXuiControl *)m_containerControl;
|
||||
break;
|
||||
case eSectionInventoryCreativeTab_0:
|
||||
case eSectionInventoryCreativeTab_1:
|
||||
case eSectionInventoryCreativeTab_2:
|
||||
case eSectionInventoryCreativeTab_3:
|
||||
case eSectionInventoryCreativeTab_4:
|
||||
case eSectionInventoryCreativeTab_5:
|
||||
case eSectionInventoryCreativeTab_6:
|
||||
case eSectionInventoryCreativeTab_7:
|
||||
return &m_hTabGroupA[eSection - eSectionInventoryCreativeTab_0];
|
||||
case eSectionInventoryCreativeSlider:
|
||||
return (CXuiControl *)&m_pageSlider;
|
||||
default:
|
||||
assert( false );
|
||||
break;
|
||||
}
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user