summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-04-11 21:56:38 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2011-04-11 21:56:38 +0200
commit5957475d12c7739fbe69e569316a33588c621c51 (patch)
tree542fb61c4034d477ee8bfe111efca3589471cef1 /src/client.cpp
parentd30a53bf394079f2286fcf1faa8932d0becc2980 (diff)
downloadmana-5957475d12c7739fbe69e569316a33588c621c51.tar.gz
mana-5957475d12c7739fbe69e569316a33588c621c51.tar.bz2
mana-5957475d12c7739fbe69e569316a33588c621c51.tar.xz
mana-5957475d12c7739fbe69e569316a33588c621c51.zip
Implemented a simple non-blocking fadeOutAndPlay system.
It's currently used when changing maps. Resolves: TMW-Mantis: #750. Reviewed-by: Thorbjorn.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 2590813f..336abfbd 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -568,6 +568,8 @@ int Client::exec()
if (game)
game->logic();
+ sound.logic();
+
++lastTickTime;
}