aboutsummaryrefslogtreecommitdiff
path: root/src/content_cao.cpp
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2018-03-24 15:45:25 +0100
committerGitHub <noreply@github.com>2018-03-24 15:45:25 +0100
commit4fd97158762b4cdd4c73a6e29960e371d9de56e7 (patch)
treec768a82d972f2d7d80d20c0eccab0494b24d3538 /src/content_cao.cpp
parentbcd22fc34cf70c3fe246f500633aa42e388fabc4 (diff)
downloadminetest-4fd97158762b4cdd4c73a6e29960e371d9de56e7.tar.xz
Cleanup sound manager class (#7158)
* Cleanup sound manager client * Use some const refs * Use auto on iterators * Drop unused parameters * Move sound_openal.* to client folder * Move sound.cpp + OnDemandSoundFetcher to client/ folder + reorganize includes properly
Diffstat (limited to 'src/content_cao.cpp')
-rw-r--r--src/content_cao.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/content_cao.cpp b/src/content_cao.cpp
index 2e9f8f39d..1dec95839 100644
--- a/src/content_cao.cpp
+++ b/src/content_cao.cpp
@@ -26,6 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "util/numeric.h" // For IntervalLimiter
#include "util/serialize.h"
#include "util/basic_macros.h"
+#include "client/sound.h"
#include "client/tile.h"
#include "environment.h"
#include "collision.h"
@@ -1177,7 +1178,7 @@ void GenericCAO::updateAnimationSpeed()
{
if (!m_animated_meshnode)
return;
-
+
m_animated_meshnode->setAnimationSpeed(m_animation_speed);
}