From 4fd97158762b4cdd4c73a6e29960e371d9de56e7 Mon Sep 17 00:00:00 2001 From: Loïc Blot Date: Sat, 24 Mar 2018 15:45:25 +0100 Subject: 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 --- src/content_cao.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/content_cao.cpp') 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); } -- cgit v1.2.3