]> git.jsancho.org Git - lugaru.git/blobdiff - Source/OpenGL_Windows.cpp
Do not open browser for registering the game
[lugaru.git] / Source / OpenGL_Windows.cpp
index 94fd00f53e3bd7bbcb51ea92ab8c3c36a20752f5..ca05fb75e5a63cbb3a99382e36430106ef92466b 100644 (file)
@@ -1103,21 +1103,7 @@ int main(int argc, char **argv)
                pgame = 0;
 
                CleanUp ();
-//             if(game.registernow){
-               if(regnow)
-               {
-            #if (defined(__APPLE__) && defined(__MACH__))
-            launch_web_browser("http://www.wolfire.com/purchase/lugaru/mac");
-            #elif PLATFORM_LINUX
-            launch_web_browser("http://www.wolfire.com/purchase/lugaru/linux");
-            #else
-            launch_web_browser("http://www.wolfire.com/purchase/lugaru/pc");
-            #endif
-               }
 
-        #if PLATFORM_LINUX  // (this may not be necessary any more.)
-        _exit(0);  // !!! FIXME: hack...crashes on exit!
-        #endif
                return 0;
        }
        catch (const std::exception& error)