summaryrefslogtreecommitdiff
path: root/src/map/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/log.c')
-rw-r--r--src/map/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/log.c b/src/map/log.c
index 0fa09d9f0..e03d5f55e 100644
--- a/src/map/log.c
+++ b/src/map/log.c
@@ -116,7 +116,7 @@ int log_pick(struct map_session_data *sd, char *type, int mob_id, int nameid, in
if(mob_id) {
struct mob_data *md = (struct mob_data*)sd;
obj_id = mob_id;
- mapname = map[md->m].name;
+ mapname = map[md->bl.m].name;
} else {
obj_id = sd->char_id;
mapname = (char*)mapindex_id2name(sd->mapindex);