From 935cb8929020c6cef6c048aa84ba2410b8dba887 Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 29 May 2016 20:35:56 +0200 Subject: [PATCH] Changed: Remove useless comments/commented code --- code/ryzom/client/src/init.cpp | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/code/ryzom/client/src/init.cpp b/code/ryzom/client/src/init.cpp index d96147da8..321fb8f1e 100644 --- a/code/ryzom/client/src/init.cpp +++ b/code/ryzom/client/src/init.cpp @@ -1537,15 +1537,6 @@ void postlogInit() ProgressBar.newMessage ( ClientCfg.buildLoadingString(nmsg) ); 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); try { @@ -1554,7 +1545,6 @@ void postlogInit() catch(const Exception &e) { nlwarning("init : Error when creating 'SoundMngr' : %s", e.what()); - // leak the alocated sound manager... delete SoundMngr; SoundMngr = NULL; }