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
committerAndrei Karas <akaras@inbox.ru>2011-04-28 02:41:43 +0300
commit4cd8cf7f527553abad86c07c8ebbb2ba8b5d3699 (patch)
tree2fce080e3001a53cbabc8468b98c84b4afd84444 /src/client.cpp
parent24662442f04d3c70aef4b0502545e346b6c63f67 (diff)
downloadmv-4cd8cf7f527553abad86c07c8ebbb2ba8b5d3699.tar.gz
mv-4cd8cf7f527553abad86c07c8ebbb2ba8b5d3699.tar.bz2
mv-4cd8cf7f527553abad86c07c8ebbb2ba8b5d3699.tar.xz
mv-4cd8cf7f527553abad86c07c8ebbb2ba8b5d3699.zip
Implemented a simple non-blocking fadeOutAndPlay system.
It's currently used when changing maps. Resolves: TMW-Mantis: #750. Reviewed-by: Thorbjorn. Conflicts: src/game.cpp src/sound.cpp src/sound.h
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 51e9155e7..1ac4be9f4 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -675,6 +675,8 @@ int Client::exec()
if (game)
game->logic();
+ sound.logic();
+
++lastTickTime;
}