diff options
-rw-r--r-- | src/map/clif.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/map/clif.cpp b/src/map/clif.cpp index c270d98..1b77be6 100644 --- a/src/map/clif.cpp +++ b/src/map/clif.cpp @@ -4020,11 +4020,10 @@ RecvResult clif_parse_GetCharNameRequest(Session *s, dumb_ptr<map_session_data> dumb_ptr<mob_data> md = bl->is_mob(); nullpo_retr(rv, md); - const mob_db_& mob_info = get_mob_db(md->mob_class); - if (md->name != MobName() && md->name != mob_info.name && md->name.size() >= 4) + if (md->name.size() >= 4) fixed_95.char_name = stringish<CharName>(md->name); else - fixed_95.char_name = stringish<CharName>(mob_info.name); + fixed_95.char_name = stringish<CharName>(get_mob_db(md->mob_class).name); send_fpacket<0x0095, 30>(s, fixed_95); } break; |