summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/npc-parse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/npc-parse.cpp b/src/map/npc-parse.cpp
index c6564fb..8865ea6 100644
--- a/src/map/npc-parse.cpp
+++ b/src/map/npc-parse.cpp
@@ -273,7 +273,7 @@ bool npc_load_monster(ast::npc::Monster& monster)
md->bl_m = m;
md->bl_x = x;
md->bl_y = y;
- const mob_db_& mob_info = get_mob_db(md->mob_class);
+ const mob_db_& mob_info = get_mob_db(mob_class);
MobName expected = mob_info.jname;
if (monster.name.data != expected)
{