mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-23 15:46:18 +00:00
Changed: Remove useless comments/commented code
This commit is contained in:
parent
f0e83f7dd3
commit
935cb89290
1 changed files with 0 additions and 10 deletions
|
@ -1537,15 +1537,6 @@ void postlogInit()
|
||||||
ProgressBar.newMessage ( ClientCfg.buildLoadingString(nmsg) );
|
ProgressBar.newMessage ( ClientCfg.buildLoadingString(nmsg) );
|
||||||
if(ClientCfg.SoundOn)
|
if(ClientCfg.SoundOn)
|
||||||
{
|
{
|
||||||
// tmp fix : it seems that, at this point, if the bg downloader window has focus and
|
|
||||||
// not the Ryzom one, then sound init fails
|
|
||||||
/*#ifdef NL_OS_WINDOWS
|
|
||||||
HWND hWnd = Driver->getDisplay ();
|
|
||||||
nlassert (hWnd);
|
|
||||||
ShowWindow(hWnd, SW_RESTORE);
|
|
||||||
SetForegroundWindow(hWnd);
|
|
||||||
#endif*/
|
|
||||||
// bg downloader not used anymore anyways
|
|
||||||
SoundMngr = new CSoundManager(&ProgressBar);
|
SoundMngr = new CSoundManager(&ProgressBar);
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
@ -1554,7 +1545,6 @@ void postlogInit()
|
||||||
catch(const Exception &e)
|
catch(const Exception &e)
|
||||||
{
|
{
|
||||||
nlwarning("init : Error when creating 'SoundMngr' : %s", e.what());
|
nlwarning("init : Error when creating 'SoundMngr' : %s", e.what());
|
||||||
// leak the alocated sound manager...
|
|
||||||
delete SoundMngr;
|
delete SoundMngr;
|
||||||
SoundMngr = NULL;
|
SoundMngr = NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue