diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-10-05 23:28:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-10-06 19:02:03 +0300 |
commit | 491695e60e95668e8170e290388f976190859314 (patch) | |
tree | 78f81f3a7326c6c5400879927e033718e031e43b /src/soundmanager.cpp | |
parent | 51c5857be425d0cf19503ba47eba31fab4aceee6 (diff) | |
download | manaplus-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.cpp | 7 |
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) |