Remove dead code that once opened a browser to the store page for Duke Nukem 3D: Megaton Edition on Steam

git-svn-id: https://svn.eduke32.com/eduke32@7182 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-11-18 18:08:59 +00:00
parent 5164ab4a25
commit 52eed46aa9

View file

@ -5926,40 +5926,6 @@ static void G_Startup(void)
}
}
if (VOLUMEONE)
{
initprintf("*** You have run Duke Nukem 3D %d times. ***\n\n",ud.executions);
#if 0//def _WIN32
if (ud.executions >= 50 && !DUKEBETA)
{
initprintf("IT IS NOW TIME TO UPGRADE TO THE COMPLETE VERSION!\n");
Bsprintf(tempbuf, "You have run Duke Nukem 3D shareware %d times. It is now time to upgrade to the complete version!\n\n"
"Upgrade Duke Nukem 3D now?\n", ud.executions);
if (wm_ynbox("Upgrade to the full version of Duke Nukem 3D","%s",tempbuf))
{
SHELLEXECUTEINFOA sinfo;
char const *p = "http://store.steampowered.com/app/225140";
Bmemset(&sinfo, 0, sizeof(sinfo));
sinfo.cbSize = sizeof(sinfo);
sinfo.fMask = SEE_MASK_CLASSNAME;
sinfo.lpVerb = "open";
sinfo.lpFile = p;
sinfo.nShow = SW_SHOWNORMAL;
sinfo.lpClass = "http";
if (!ShellExecuteExA(&sinfo))
G_GameExit("Error launching default system browser!");
quitevent = 1;
}
}
#endif
}
for (i=0; i<MAXPLAYERS; i++)
g_player[i].pingcnt = 0;