diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-29 00:44:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-29 00:44:18 +0300 |
commit | e02996049927ca4f52852fe0e437010fd07238a3 (patch) | |
tree | 7ef583190ec9b20a7e35d880fcdc2c1c7cb51934 /src/game.cpp | |
parent | be3c1cf049d3df146d18acfb7cbead2ef3f660f1 (diff) | |
download | manaplus-e02996049927ca4f52852fe0e437010fd07238a3.tar.gz manaplus-e02996049927ca4f52852fe0e437010fd07238a3.tar.bz2 manaplus-e02996049927ca4f52852fe0e437010fd07238a3.tar.xz manaplus-e02996049927ca4f52852fe0e437010fd07238a3.zip |
remove some code from deprivatedevent class.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/game.cpp b/src/game.cpp index ac22d8724..1ab3cb10e 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -169,9 +169,6 @@ const unsigned adjustDelay = 10; */ static void initEngines() { - DepricatedEvent::trigger(CHANNEL_GAME, - DepricatedEvent(EVENT_ENGINESINITALIZING)); - actorSpriteManager = new ActorSpriteManager; commandHandler = new CommandHandler; effectManager = new EffectManager; @@ -194,9 +191,6 @@ static void initEngines() */ static void createGuiWindows() { - DepricatedEvent::trigger(CHANNEL_GAME, - DepricatedEvent(EVENT_GUIWINDOWSLOADING)); - if (setupWindow) setupWindow->clearWindowsForReset(); @@ -371,9 +365,6 @@ static void destroyGuiWindows() del_0(killStats); del_0(didYouKnowWindow); - DepricatedEvent::trigger(CHANNEL_GAME, - DepricatedEvent(EVENT_GUIWINDOWSUNLOADED)); - if (auctionManager && AuctionManager::getEnableAuctionBot()) auctionManager->reload(); @@ -443,9 +434,6 @@ Game::Game(): if (guildManager && GuildManager::getEnableGuildBot()) guildManager->requestGuildInfo(); - - DepricatedEvent::trigger(CHANNEL_GAME, - DepricatedEvent(EVENT_CONSTRUCTED)); } Game::~Game() @@ -476,8 +464,7 @@ Game::~Game() Being::clearCache(); mInstance = nullptr; - DepricatedEvent::trigger(CHANNEL_GAME, - DepricatedEvent(EVENT_DESTRUCTED)); + PlayerInfo::gameDestroyed(); } bool Game::createScreenshot() |