diff options
author | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-01-10 10:17:52 +0000 |
---|---|---|
committer | ai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2011-01-10 10:17:52 +0000 |
commit | d15534494a74146f690237596ecf7982d3690fe3 (patch) | |
tree | 0f449f2e9abdd1d43d4cf3a4b2719064c82718c1 /src | |
parent | 0bd3f775424d89eb9fa8998b2ab1298660011a96 (diff) | |
download | hercules-d15534494a74146f690237596ecf7982d3690fe3.tar.gz hercules-d15534494a74146f690237596ecf7982d3690fe3.tar.bz2 hercules-d15534494a74146f690237596ecf7982d3690fe3.tar.xz hercules-d15534494a74146f690237596ecf7982d3690fe3.zip |
* Fixed monster level not getting updated in monster name (option 'show_mob_info'), when a monster levels up (option 'mobs_level_up') (follow up to r8644, related r187).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14662 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/map/pc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 42f8b07c8..59b0cfd11 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -5710,6 +5710,11 @@ int pc_dead(struct map_session_data *sd,struct block_list *src) md->level++; status_calc_mob(md, 0); status_percent_heal(src,10,0); + + if( battle_config.show_mob_info&4 ) + {// update name with new level + clif_charnameack(0, &md->bl); + } } src = battle_get_master(src); // Maybe Player Summon } |