From 491695e60e95668e8170e290388f976190859314 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 5 Oct 2017 23:28:34 +0300 Subject: remove extra includes if build without tmwa support. --- src/soundmanager.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/soundmanager.cpp') 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) -- cgit v1.2.3-60-g2f50