summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp10
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)