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/resources/db/itemdb.cpp | 2 ++ src/resources/item/shopitem.cpp | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src/resources') diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp index 08055e404..a98f0dad4 100644 --- a/src/resources/db/itemdb.cpp +++ b/src/resources/db/itemdb.cpp @@ -40,7 +40,9 @@ #include "resources/sprite/spritereference.h" +#ifdef TMWA_SUPPORT #include "net/net.h" +#endif // TMWA_SUPPORT #include "utils/checkutils.h" #include "utils/delete2.h" diff --git a/src/resources/item/shopitem.cpp b/src/resources/item/shopitem.cpp index 99e0c43dd..76b269cca 100644 --- a/src/resources/item/shopitem.cpp +++ b/src/resources/item/shopitem.cpp @@ -26,7 +26,9 @@ #include "utils/stringutils.h" +#ifdef TMWA_SUPPORT #include "net/net.h" +#endif // TMWA_SUPPORT #include "resources/db/unitsdb.h" -- cgit v1.2.3-60-g2f50