From d44045211243792ded96283e205f386c9a41137d Mon Sep 17 00:00:00 2001 From: Taylor Richards Date: Wed, 20 Nov 2013 10:14:41 -0500 Subject: [PATCH] get rid of Windows specific instance check, it was broken anyway --- src/freespace2/freespace.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/freespace2/freespace.cpp b/src/freespace2/freespace.cpp index 60bf658..881e114 100644 --- a/src/freespace2/freespace.cpp +++ b/src/freespace2/freespace.cpp @@ -6986,15 +6986,6 @@ int game_main(const char *szCmdLine) { int state; -#ifndef PLAT_UNIX - // Don't let more than one instance of Freespace run. - HWND hwnd = FindWindow( NOX( "FreeSpaceClass" ), NULL ); - if ( hwnd ) { - SetForegroundWindow(hwnd); - return 0; - } -#endif - // Find out how much RAM is on this machine Freespace_total_ram = SDL_GetSystemRAM(); -- 2.39.2