diff --git a/src/server/game/World/World.cpp b/src/server/game/World/World.cpp index c3307fc5..408a836e 100644 --- a/src/server/game/World/World.cpp +++ b/src/server/game/World/World.cpp @@ -55,7 +55,6 @@ #include "GameTime.h" #include "GarrisonMgr.h" #include "GitRevision.h" -#include "HousingMgr.h" #include "InitiativeManager.h" #include "NeighborhoodMgr.h" #include "GridNotifiersImpl.h" @@ -724,12 +723,6 @@ void World::LoadConfigSettings(bool reload) { .Name = "AllowLoggingIPAddressesInDatabase"sv, .DefaultValue = true, .Index = CONFIG_ALLOW_LOGGING_IP_ADDRESSES_IN_DATABASE }, { .Name = "Loot.EnableAELoot"sv, .DefaultValue = true, .Index = CONFIG_ENABLE_AE_LOOT }, { .Name = "Load.Locales"sv, .DefaultValue = true, .Index = CONFIG_LOAD_LOCALES }, - { .Name = "Housing.EnableBuyHouse"sv, .DefaultValue = true, .Index = CONFIG_HOUSING_ENABLE_BUY_HOUSE }, - { .Name = "Housing.EnableDeleteHouse"sv, .DefaultValue = true, .Index = CONFIG_HOUSING_ENABLE_DELETE_HOUSE }, - { .Name = "Housing.EnableMoveHouse"sv, .DefaultValue = true, .Index = CONFIG_HOUSING_ENABLE_MOVE_HOUSE }, - { .Name = "Housing.EnableCreateCharterNeighborhood"sv, .DefaultValue = true, .Index = CONFIG_HOUSING_ENABLE_CREATE_CHARTER_NEIGHBORHOOD }, - { .Name = "Housing.EnableCreateGuildNeighborhood"sv, .DefaultValue = true, .Index = CONFIG_HOUSING_ENABLE_CREATE_GUILD_NEIGHBORHOOD }, - { .Name = "Housing.TutorialsEnabled"sv, .DefaultValue = true, .Index = CONFIG_HOUSING_TUTORIALS_ENABLED }, { .Name = "Shop.Enabled"sv, .DefaultValue = true, .Index = CONFIG_SHOP_ENABLED }, { .Name = "Shop.Shop2Enabled"sv, .DefaultValue = false, .Index = CONFIG_SHOP_SHOP2_ENABLED }, // Defaults ON, because the client cannot finish a purchase without it: Blizzard_Shared_StoreUISecure @@ -1261,7 +1254,6 @@ void World::LoadConfigSettings(bool reload) _gameRules = { { .Rule = ::GameRule::TransmogEnabled, .Value = true }, - { .Rule = ::GameRule::HousingEnabled, .Value = int32(EXPANSION_MIDNIGHT) } }; if (reload) @@ -2025,18 +2017,6 @@ bool World::SetInitialWorldSettings() TC_LOG_INFO("server.loading", "Loading Treasure Pickers..."); sObjectMgr->LoadTreasurePickerTemplates(); // must be after LoadItemTemplates() - // TC_LOG_INFO("server.loading", "Loading housing info..."); - // sHousingMgr.Initialize(); - - // TC_LOG_INFO("server.loading", "Loading neighborhood info..."); - // sNeighborhoodMgr.Initialize(); - - // TC_LOG_INFO("server.loading", "Loading initiative info..."); - // sInitiativeManager.Initialize(); - - // TC_LOG_INFO("server.loading", "Pre-loading housing neighborhood maps..."); - // sMapMgr->PreloadHousingMaps(); - TC_LOG_INFO("server.loading", "Loading Chromie Time expansion quests..."); sObjectMgr->LoadChromieTimeExpansionQuests();