diff options
Diffstat (limited to 'src/map/itemdb.cpp')
-rw-r--r-- | src/map/itemdb.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/map/itemdb.cpp b/src/map/itemdb.cpp index c2fd0e2..7dd725e 100644 --- a/src/map/itemdb.cpp +++ b/src/map/itemdb.cpp @@ -37,6 +37,7 @@ #include "../ast/item.hpp" +#include "globals.hpp" #include "script-parse.hpp" #include "../poison.hpp" @@ -44,9 +45,8 @@ namespace tmwa { -static -Map<ItemNameId, struct item_data> item_db; - +namespace map +{ // Function declarations /*========================================== @@ -235,4 +235,5 @@ void do_final_itemdb(void) itemdb_final(&pair.second); item_db.clear(); } +} // namespace map } // namespace tmwa |