diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-18 16:40:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-18 16:40:55 +0300 |
commit | 0b236e4e04a6d89d34925ce9d2875c002e135b23 (patch) | |
tree | ead38bd486f6018f8a4a608486ea1cc8e2d4ac60 /src/game.cpp | |
parent | 0e21b478636fac986a5e2276662da6a6e1692f9e (diff) | |
download | manaplus-0b236e4e04a6d89d34925ce9d2875c002e135b23.tar.gz manaplus-0b236e4e04a6d89d34925ce9d2875c002e135b23.tar.bz2 manaplus-0b236e4e04a6d89d34925ce9d2875c002e135b23.tar.xz manaplus-0b236e4e04a6d89d34925ce9d2875c002e135b23.zip |
Remove auction bot support.
This bot for long time offline in tmw and possible will be never online.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/game.cpp b/src/game.cpp index ef053bd8f..e599d5459 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -25,7 +25,6 @@ #include "main.h" #include "actorspritemanager.h" -#include "auctionmanager.h" #include "animatedsprite.h" #include "client.h" #include "commandhandler.h" @@ -148,7 +147,6 @@ EffectManager *effectManager = nullptr; SpellManager *spellManager = nullptr; Viewport *viewport = nullptr; /**< Viewport on the map. */ GuildManager *guildManager = nullptr; -AuctionManager *auctionManager = nullptr; ChatTab *localChatTab = nullptr; ChatTab *debugChatTab = nullptr; @@ -168,7 +166,6 @@ static void initEngines() actorSpriteManager = new ActorSpriteManager; commandHandler = new CommandHandler; effectManager = new EffectManager; - AuctionManager::init(); GuildManager::init(); particleEngine = new Particle(nullptr); @@ -310,9 +307,6 @@ static void destroyGuiWindows() if (whoIsOnline) whoIsOnline->setAllowUpdate(false); - if (auctionManager) - auctionManager->clear(); - if (guildManager) guildManager->clear(); @@ -353,9 +347,6 @@ static void destroyGuiWindows() DepricatedEvent::trigger(CHANNEL_GAME, DepricatedEvent(EVENT_GUIWINDOWSUNLOADED)); - if (auctionManager && AuctionManager::getEnableAuctionBot()) - auctionManager->reload(); - if (guildManager && GuildManager::getEnableGuildBot()) guildManager->reload(); } @@ -460,7 +451,6 @@ Game::~Game() del_0(mCurrentMap) del_0(spellManager) del_0(spellShortcut) - del_0(auctionManager) del_0(guildManager) #ifdef USE_MUMBLE del_0(mumbleManager) |