From 4cd8cf7f527553abad86c07c8ebbb2ba8b5d3699 Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Mon, 11 Apr 2011 21:56:38 +0200 Subject: 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 --- src/client.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/client.cpp') 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; } -- cgit v1.2.3-60-g2f50