From fb4603732c935319d4a9fe63c355932f9464531f Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 2 Jun 2010 12:19:56 +0200 Subject: [PATCH] Changed: #927 Move OS specific code from client or server to NeL when it's possible --- code/ryzom/client/src/main_loop.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/code/ryzom/client/src/main_loop.cpp b/code/ryzom/client/src/main_loop.cpp index 3c624b16e..4ebb7ad9b 100644 --- a/code/ryzom/client/src/main_loop.cpp +++ b/code/ryzom/client/src/main_loop.cpp @@ -1498,14 +1498,7 @@ bool mainLoop() { beep( 680, 400 ); beep( 440, 400 ); - #ifdef NL_OS_WINDOWS - // Get the window - HWND hWnd = (HWND)Driver->getDisplay (); - nlassert (hWnd); - // Show the window - ShowWindow (hWnd, SW_SHOW); - SetForegroundWindow(hWnd); - #endif // NL_OS_WINDOW + Driver->showWindow(); } FPU_CHECKER_ONCE