summaryrefslogtreecommitdiff
path: root/src/emap/data/mobd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emap/data/mobd.c')
-rw-r--r--src/emap/data/mobd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emap/data/mobd.c b/src/emap/data/mobd.c
index 0df31e7..e3a6c34 100644
--- a/src/emap/data/mobd.c
+++ b/src/emap/data/mobd.c
@@ -34,7 +34,7 @@ struct MobdExt *mobd_get(struct mob_db *md)
struct MobdExt *mobd_get_by_mob(TBL_MOB *md)
{
- if (!mob)
+ if (!md)
return NULL;
return mobd_get(mob->db_data[md->class_]);