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/resources | |
parent | 51c5857be425d0cf19503ba47eba31fab4aceee6 (diff) | |
download | plus-491695e60e95668e8170e290388f976190859314.tar.gz plus-491695e60e95668e8170e290388f976190859314.tar.bz2 plus-491695e60e95668e8170e290388f976190859314.tar.xz plus-491695e60e95668e8170e290388f976190859314.zip |
remove extra includes if build without tmwa support.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/db/itemdb.cpp | 2 | ||||
-rw-r--r-- | src/resources/item/shopitem.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
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" |