diff options
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/clif.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index ba9f6a5..ed973fd 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -6428,10 +6428,15 @@ void clif_parse_GetCharNameRequest(int fd, struct map_session_data *sd) { case BL_NPC: memcpy(WFIFOP(fd,6), ((struct npc_data*)bl)->name, 24); { - char *end = strchr(WFIFOP(fd, 6), '#'); // elim hashed out/invisible names for the client + char *start = WFIFOP(fd, 6); + char *end = strchr(start, '#'); // [fate] elim hashed out/invisible names for the client if (end) while (*end) *end++ = 0; + + // [fate] Elim preceding underscores for (hackish) name position fine-tuning + while (*start == '_') + *start++ = ' '; } WFIFOSET(fd,packet_len_table[0x95]); break; |