summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-04-07 20:44:53 +0200
committerGitHub <noreply@github.com>2019-04-07 20:44:53 +0200
commit831d7cf9c99fbeadb93bdbff03836320543219c4 (patch)
tree0983e1163f5e759af81bc55da9e7fa3962453857 /src
parent8986b6584cf21cec55260a242a2631843b7fdaee (diff)
parent7e203120e172d023c7d6a2124665294774cc694e (diff)
downloadhercules-831d7cf9c99fbeadb93bdbff03836320543219c4.tar.gz
hercules-831d7cf9c99fbeadb93bdbff03836320543219c4.tar.bz2
hercules-831d7cf9c99fbeadb93bdbff03836320543219c4.tar.xz
hercules-831d7cf9c99fbeadb93bdbff03836320543219c4.zip
Merge pull request #2408 from AnnieRuru/73-UDT_LEVEL
Fix UDT_LEVEL when show_mob_info level display is on
Diffstat (limited to 'src')
-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 3b99c16f0..277ba6c98 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -18939,6 +18939,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);