From b3112bd3f6d0887fdf81610327c9edad08a0cfaf Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sat, 10 Jan 2015 17:32:49 -0800 Subject: Use generated config for map --- src/map/itemdb.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/map/itemdb.cpp') 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 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 -- cgit v1.2.3-70-g09d2