mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-26 07:32:57 +00:00
Remove Win32 wide char aliases from skin select menu
This commit is contained in:
parent
4506a204f9
commit
56f6bb8da6
|
|
@ -13,7 +13,7 @@
|
|||
//#define SKIN_SELECT_PACK_PLAYER_CUSTOM 1
|
||||
#define SKIN_SELECT_MAX_DEFAULTS 2
|
||||
|
||||
const WCHAR *UIScene_SkinSelectMenu::wchDefaultNamesA[]=
|
||||
const wchar_t *UIScene_SkinSelectMenu::wchDefaultNamesA[]=
|
||||
{
|
||||
L"USE LOCALISED VERSION", // Server selected
|
||||
L"Steve",
|
||||
|
|
@ -1712,7 +1712,7 @@ int UIScene_SkinSelectMenu::UnlockSkinReturned(void *pParam,int iPad,C4JStorage:
|
|||
pScene->m_bIgnoreInput = false;
|
||||
}
|
||||
#elif defined _XBOX_ONE
|
||||
StorageManager.InstallOffer(1,(WCHAR *)(pScene->m_currentPack->getPurchaseOfferId().c_str()), &RenableInput, pScene, NULL);
|
||||
StorageManager.InstallOffer(1, const_cast<wchar_t *>(pScene->m_currentPack->getPurchaseOfferId().c_str()), &RenableInput, pScene, NULL);
|
||||
#endif
|
||||
}
|
||||
else // Is signed in, but not live.
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
class UIScene_SkinSelectMenu : public UIScene
|
||||
{
|
||||
private:
|
||||
static const WCHAR *wchDefaultNamesA[eDefaultSkins_Count];
|
||||
static const wchar_t *wchDefaultNamesA[eDefaultSkins_Count];
|
||||
|
||||
// 4J Stu - How many to show on each side of the main control
|
||||
static const int sidePreviewControls = 4;
|
||||
|
|
|
|||
Loading…
Reference in a new issue