summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorAnnieRuru <jeankofannie2@gmail.com>2019-03-20 14:37:18 +0800
committerAnnieRuru <jeankofannie2@gmail.com>2019-03-20 14:37:18 +0800
commit7e203120e172d023c7d6a2124665294774cc694e (patch)
tree9eb3f020433c7e2060a74f5c6213ddec2128d66d /src/map/script.c
parente1e951c805916853e55ff5b9ce0531e0cf483ebf (diff)
downloadhercules-7e203120e172d023c7d6a2124665294774cc694e.tar.gz
hercules-7e203120e172d023c7d6a2124665294774cc694e.tar.bz2
hercules-7e203120e172d023c7d6a2124665294774cc694e.tar.xz
hercules-7e203120e172d023c7d6a2124665294774cc694e.zip
Fix UDT_LEVEL when show_mob_info level display is on
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/script.c b/src/map/script.c
index bba559df8..969c43c89 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -18926,6 +18926,8 @@ static BUILDIN(setunitdata)
break;
case UDT_LEVEL:
md->level = val;
+ if (battle_config.show_mob_info & 4)
+ clif->charnameack(0, &md->bl);
break;
case UDT_HP:
status->set_hp(bl, (unsigned int) val, STATUS_HEAL_DEFAULT);