mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-05-23 10:43:05 +00:00
Remove Win32 callback types from pause menu helpers
This commit is contained in:
parent
35035cfe4d
commit
986dbd60ef
|
|
@ -278,9 +278,9 @@ int IUIScene_PauseMenu::WarningTrialTexturePackReturned(void *pParam,int iPad,C4
|
|||
|
||||
DLCPack *pDLCPack=pDLCTexPack->getDLCInfoParentPack();
|
||||
|
||||
DLC_INFO *pDLCInfo=app.GetDLCInfoForProductName((WCHAR *)pDLCPack->getName().c_str());
|
||||
DLC_INFO *pDLCInfo = app.GetDLCInfoForProductName(const_cast<wchar_t *>(pDLCPack->getName().c_str()));
|
||||
|
||||
StorageManager.InstallOffer(1,(WCHAR *)pDLCInfo->wsProductId.c_str(),NULL,NULL);
|
||||
StorageManager.InstallOffer(1, const_cast<wchar_t *>(pDLCInfo->wsProductId.c_str()), NULL, NULL);
|
||||
|
||||
// the license change coming in when the offer has been installed will cause this scene to refresh
|
||||
}
|
||||
|
|
@ -330,7 +330,7 @@ int IUIScene_PauseMenu::WarningTrialTexturePackReturned(void *pParam,int iPad,C4
|
|||
}
|
||||
|
||||
|
||||
int IUIScene_PauseMenu::SaveWorldThreadProc( LPVOID lpParameter )
|
||||
int IUIScene_PauseMenu::SaveWorldThreadProc(void *lpParameter)
|
||||
{
|
||||
bool bAutosave=(bool)lpParameter;
|
||||
if(bAutosave)
|
||||
|
|
|
|||
Loading…
Reference in a new issue