diff options
Diffstat (limited to 'src/resources/db')
-rw-r--r-- | src/resources/db/commandsdb.cpp | 4 | ||||
-rw-r--r-- | src/resources/db/itemdb.cpp | 2 | ||||
-rw-r--r-- | src/resources/db/itemdb.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/db/commandsdb.cpp b/src/resources/db/commandsdb.cpp index 74096c25a..dafb6edb8 100644 --- a/src/resources/db/commandsdb.cpp +++ b/src/resources/db/commandsdb.cpp @@ -117,7 +117,7 @@ void CommandsDB::loadXmlFile(const std::string &fileName, commandNode, "level2", 0, 0, 1000); const int mana = XML::getIntProperty( commandNode, "mana", 0, 0, 100000); -#endif +#endif // TMWA_SUPPORT TextCommand *cmd = nullptr; #ifdef TMWA_SUPPORT @@ -135,7 +135,7 @@ void CommandsDB::loadXmlFile(const std::string &fileName, mana); } else -#endif +#endif // TMWA_SUPPORT { cmd = new TextCommand(id, name, diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp index c862e6796..724724bac 100644 --- a/src/resources/db/itemdb.cpp +++ b/src/resources/db/itemdb.cpp @@ -1070,4 +1070,4 @@ ItemDB::ItemInfos &ItemDB::getItemInfosTest() { return mItemInfos; } -#endif +#endif // UNITTESTS diff --git a/src/resources/db/itemdb.h b/src/resources/db/itemdb.h index 3a992b90c..8a2547b48 100644 --- a/src/resources/db/itemdb.h +++ b/src/resources/db/itemdb.h @@ -69,7 +69,7 @@ namespace ItemDB ItemDB::NamedItemInfos &getNamedItemInfosTest(); ItemDB::ItemInfos &getItemInfosTest(); -#endif +#endif // UNITTESTS int getTagId(const std::string &tagName) A_WARN_UNUSED; } // namespace ItemDB |