mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-11 01:40:13 +00:00
Fixed #151: White box on character selection screen (a big thanks to nimetu for the patch!)
This commit is contained in:
parent
acfbceffe1
commit
13b7be40c0
1 changed files with 11 additions and 10 deletions
|
@ -727,16 +727,6 @@ void CInterfaceManager::initOutGame()
|
||||||
|
|
||||||
|
|
||||||
//NLMEMORY::CheckHeap (true);
|
//NLMEMORY::CheckHeap (true);
|
||||||
// Initialize the web browser
|
|
||||||
{
|
|
||||||
CGroupHTML *pGH = dynamic_cast<CGroupHTML*>( CWidgetManager::getInstance()->getElementFromId(GROUP_BROWSER));
|
|
||||||
if (pGH)
|
|
||||||
{
|
|
||||||
pGH->setActive(true);
|
|
||||||
pGH->browse(ClientCfg.PatchletUrl.c_str());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if (ClientCfg.XMLOutGameInterfaceFiles.size()==0)
|
if (ClientCfg.XMLOutGameInterfaceFiles.size()==0)
|
||||||
{
|
{
|
||||||
|
@ -777,6 +767,17 @@ void CInterfaceManager::initOutGame()
|
||||||
initActions();
|
initActions();
|
||||||
}
|
}
|
||||||
//NLMEMORY::CheckHeap (true);
|
//NLMEMORY::CheckHeap (true);
|
||||||
|
|
||||||
|
// Initialize the web browser
|
||||||
|
{
|
||||||
|
CGroupHTML *pGH = dynamic_cast<CGroupHTML*>( CWidgetManager::getInstance()->getElementFromId(GROUP_BROWSER));
|
||||||
|
|
||||||
|
if (pGH)
|
||||||
|
{
|
||||||
|
pGH->setActive(true);
|
||||||
|
pGH->browse(ClientCfg.PatchletUrl.c_str());
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in a new issue