summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-10 20:37:02 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-10 20:37:02 +0300
commitb7d3acab99fe4975d4598b6c9ac1ad88edfa8506 (patch)
treea488f015fd7acee7654dab610eb95e904ffaeaa5 /src/game.cpp
parent81184f3787f4b9208b7ac1aacb3489ca143c9ccd (diff)
downloadmanaverse-b7d3acab99fe4975d4598b6c9ac1ad88edfa8506.tar.gz
manaverse-b7d3acab99fe4975d4598b6c9ac1ad88edfa8506.tar.bz2
manaverse-b7d3acab99fe4975d4598b6c9ac1ad88edfa8506.tar.xz
manaverse-b7d3acab99fe4975d4598b6c9ac1ad88edfa8506.zip
Add support for casting status effect on ground.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp4
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())