summaryrefslogtreecommitdiff
path: root/src/game.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/game.cpp
parentbcd22fc34cf70c3fe246f500633aa42e388fabc4 (diff)
downloadminetest-4fd97158762b4cdd4c73a6e29960e371d9de56e7.tar.gz
minetest-4fd97158762b4cdd4c73a6e29960e371d9de56e7.tar.bz2
minetest-4fd97158762b4cdd4c73a6e29960e371d9de56e7.zip
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/game.cpp')
-rw-r--r--src/game.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game.cpp b/src/game.cpp
index fada349db..685fb0651 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -69,10 +69,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "script/scripting_client.h"
#if USE_SOUND
- #include "sound_openal.h"
+ #include "client/sound_openal.h"
+#else
+ #include "client/sound.h"
#endif
-
-
/*
Text input system
*/