mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 02:30:46 +00:00
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:
parent
5164ab4a25
commit
52eed46aa9
1 changed files with 0 additions and 34 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue