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)