summaryrefslogtreecommitdiff
path: root/src/soundmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-10-05 23:28:34 +0300
committerAndrei Karas <akaras@inbox.ru>2017-10-06 19:02:03 +0300
commit491695e60e95668e8170e290388f976190859314 (patch)
tree78f81f3a7326c6c5400879927e033718e031e43b /src/soundmanager.cpp
parent51c5857be425d0cf19503ba47eba31fab4aceee6 (diff)
downloadmanaplus-491695e60e95668e8170e290388f976190859314.tar.gz
manaplus-491695e60e95668e8170e290388f976190859314.tar.bz2
manaplus-491695e60e95668e8170e290388f976190859314.tar.xz
manaplus-491695e60e95668e8170e290388f976190859314.zip
remove extra includes if build without tmwa support.
Diffstat (limited to 'src/soundmanager.cpp')
-rw-r--r--src/soundmanager.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/soundmanager.cpp b/src/soundmanager.cpp
index a3b5149e0..d08b58c1f 100644
--- a/src/soundmanager.cpp
+++ b/src/soundmanager.cpp
@@ -30,10 +30,6 @@
#include "fs/virtfs/fs.h"
-#ifndef TMWA_SUPPORT
-#include "utils/cast.h"
-#endif // TMWA_SUPPORT
-
#include "resources/sdlmusic.h"
#include "resources/soundeffect.h"
@@ -42,6 +38,9 @@
#include "resources/resourcemanager/resourcemanager.h"
+#ifdef DYECMD
+#include "utils/cast.h"
+#endif
#include "utils/checkutils.h"
PRAGMA48(GCC diagnostic push)