summaryrefslogtreecommitdiff
path: root/src/map/globals.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/globals.hpp')
-rw-r--r--src/map/globals.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/globals.hpp b/src/map/globals.hpp
index f33f316..2fcdd95 100644
--- a/src/map/globals.hpp
+++ b/src/map/globals.hpp
@@ -64,7 +64,7 @@ namespace tmwa
extern block_list bl_head;
extern std::unique_ptr<io::AppendFile> map_logfile;
extern long map_logfile_index;
- extern mob_db_ mob_db[MaxMobs];
+ extern mob_db_ mob_db[MaxMobID+1];
extern std::list<AString> npc_srcs;
extern int npc_warp, npc_shop, npc_script, npc_mob;
extern BlockId npc_id;