remove code related to blocking lobby access

This is no longer used, and the related feature was removed in a commit
a few weeks ago
This commit is contained in:
andy5995
2018-02-14 01:08:13 -06:00
parent c8726d7899
commit bdef7fc6f3
2 changed files with 0 additions and 18 deletions

View File

@@ -59,7 +59,6 @@ FontMenuNormalPrefix=-*-arial-*-r-*-*-
FontMenuVeryBigBaseSize=25 FontMenuVeryBigBaseSize=25
FontSizeAdjustment=0 FontSizeAdjustment=0
FONT_HEIGHT_TEXT=yW FONT_HEIGHT_TEXT=yW
InternetGamesBlockScenario=lobby_access
Lang=english Lang=english
MaxLights=3 MaxLights=3
Masterserver=http://zetaglest.dreamhosters.com/ Masterserver=http://zetaglest.dreamhosters.com/

View File

@@ -92,23 +92,6 @@ namespace Glest
SystemFlags::OutputDebug (SystemFlags::debugSystem, "In [%s::%s %d]\n", SystemFlags::OutputDebug (SystemFlags::debugSystem, "In [%s::%s %d]\n",
__FILE__, __FUNCTION__, __LINE__); __FILE__, __FUNCTION__, __LINE__);
if (stats->getVictory (stats->getThisFactionIndex ()) == true)
{
if (Config::
getInstance ().getString ("InternetGamesBlockScenario", "") != ""
&& Config::getInstance ().getBool ("InternetGamesAllowed",
"false") == false)
{
if (Config::
getInstance ().getString ("InternetGamesBlockScenario") ==
gameSettings->getScenario ())
{
Config::getInstance ().setBool ("InternetGamesAllowed", true);
Config::getInstance ().save ();
}
}
}
initBackgroundVideo (); initBackgroundVideo ();
initBackgroundMusic (); initBackgroundMusic ();