summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDastgir <dastgir@users.noreply.github.com>2015-07-11 11:08:16 +0530
committerDastgir <dastgir@users.noreply.github.com>2015-07-11 11:08:16 +0530
commit716c0363ceab8cca875f4e1073f02d1c9987ff4e (patch)
tree8722f2e506fc7ba97070a79739f819f0ade4f03d
parent7b1293c3caf76b5587aa3abe8df57b1083c2175d (diff)
parent29f4963673b1f793448a083a21be3e6ae4d69c54 (diff)
downloadhercules-716c0363ceab8cca875f4e1073f02d1c9987ff4e.tar.gz
hercules-716c0363ceab8cca875f4e1073f02d1c9987ff4e.tar.bz2
hercules-716c0363ceab8cca875f4e1073f02d1c9987ff4e.tar.xz
hercules-716c0363ceab8cca875f4e1073f02d1c9987ff4e.zip
Merge pull request #581 from mkbu95/master
Display NPC name when it has an invalid view data
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index bfe606bca..dc4813055 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -6233,7 +6233,7 @@ void status_set_viewdata(struct block_list *bl, int class_)
if (vd)
nd->vd = vd;
else
- ShowError("status_set_viewdata (NPC): No view data for class %d\n", class_);
+ ShowError("status_set_viewdata (NPC): No view data for class %d (name=%s)\n", class_, nd->name);
}
break;
case BL_HOM: //[blackhole89]