Changed: #927 Move OS specific code from client or server to NeL when it's possible

This commit is contained in:
kervala 2010-06-02 12:19:56 +02:00
parent 1b2bb1bf76
commit fb4603732c

View file

@ -1498,14 +1498,7 @@ bool mainLoop()
{ {
beep( 680, 400 ); beep( 680, 400 );
beep( 440, 400 ); beep( 440, 400 );
#ifdef NL_OS_WINDOWS Driver->showWindow();
// Get the window
HWND hWnd = (HWND)Driver->getDisplay ();
nlassert (hWnd);
// Show the window
ShowWindow (hWnd, SW_SHOW);
SetForegroundWindow(hWnd);
#endif // NL_OS_WINDOW
} }
FPU_CHECKER_ONCE FPU_CHECKER_ONCE