From bdef7fc6f35502b1f073c233b6f325dc8356cb87 Mon Sep 17 00:00:00 2001 From: andy5995 Date: Wed, 14 Feb 2018 01:08:13 -0600 Subject: [PATCH] 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 --- mk/macos/glest.ini | 1 - source/glest_game/main/battle_end.cpp | 17 ----------------- 2 files changed, 18 deletions(-) diff --git a/mk/macos/glest.ini b/mk/macos/glest.ini index ba77f08f6..1db432160 100644 --- a/mk/macos/glest.ini +++ b/mk/macos/glest.ini @@ -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/ diff --git a/source/glest_game/main/battle_end.cpp b/source/glest_game/main/battle_end.cpp index 5772b9bbb..1d4b09ecd 100644 --- a/source/glest_game/main/battle_end.cpp +++ b/source/glest_game/main/battle_end.cpp @@ -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 ();