diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-11-10 20:37:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-11-10 20:37:02 +0300 |
commit | b7d3acab99fe4975d4598b6c9ac1ad88edfa8506 (patch) | |
tree | a488f015fd7acee7654dab610eb95e904ffaeaa5 /src/game.cpp | |
parent | 81184f3787f4b9208b7ac1aacb3489ca143c9ccd (diff) | |
download | manaplus-b7d3acab99fe4975d4598b6c9ac1ad88edfa8506.tar.gz manaplus-b7d3acab99fe4975d4598b6c9ac1ad88edfa8506.tar.bz2 manaplus-b7d3acab99fe4975d4598b6c9ac1ad88edfa8506.tar.xz manaplus-b7d3acab99fe4975d4598b6c9ac1ad88edfa8506.zip |
Add support for casting status effect on ground.
Diffstat (limited to 'src/game.cpp')
-rw-r--r-- | src/game.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp index 9fe4c2508..776dd8621 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -439,6 +439,8 @@ Game::~Game() delete2(actorManager) if (client->getState() != STATE_CHANGE_MAP) delete2(localPlayer) + if (effectManager) + effectManager->clear(); delete2(effectManager) delete2(particleEngine) delete2(viewport) @@ -622,6 +624,8 @@ void Game::slowLogic() config.writeUpdated(); serverConfig.writeUpdated(); } + if (effectManager) + effectManager->logic(); } if (mainGraphics->getOpenGL()) |