mirror of
https://github.com/glest/glest-source.git
synced 2025-08-31 19:51:44 +02:00
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:
@@ -59,7 +59,6 @@ FontMenuNormalPrefix=-*-arial-*-r-*-*-
|
||||
FontMenuVeryBigBaseSize=25
|
||||
FontSizeAdjustment=0
|
||||
FONT_HEIGHT_TEXT=yW
|
||||
InternetGamesBlockScenario=lobby_access
|
||||
Lang=english
|
||||
MaxLights=3
|
||||
Masterserver=http://zetaglest.dreamhosters.com/
|
||||
|
@@ -92,23 +92,6 @@ namespace Glest
|
||||
SystemFlags::OutputDebug (SystemFlags::debugSystem, "In [%s::%s %d]\n",
|
||||
__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 ();
|
||||
initBackgroundMusic ();
|
||||
|
||||
|
Reference in New Issue
Block a user