diff options
author | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2011-04-11 21:56:38 +0200 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-04-28 02:41:43 +0300 |
commit | 4cd8cf7f527553abad86c07c8ebbb2ba8b5d3699 (patch) | |
tree | 2fce080e3001a53cbabc8468b98c84b4afd84444 /src/client.cpp | |
parent | 24662442f04d3c70aef4b0502545e346b6c63f67 (diff) | |
download | manaplus-4cd8cf7f527553abad86c07c8ebbb2ba8b5d3699.tar.gz manaplus-4cd8cf7f527553abad86c07c8ebbb2ba8b5d3699.tar.bz2 manaplus-4cd8cf7f527553abad86c07c8ebbb2ba8b5d3699.tar.xz manaplus-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.cpp | 2 |
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; } |