diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-06 17:17:26 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-02-06 17:17:26 +0000 |
commit | 5ca6022c40792a839c62f370c2671d802811f383 (patch) | |
tree | d6763838a3857857368fe0e7a82ee046e2d34ad2 /src/map/atcommand.c | |
parent | fe759b1f276fc8f904da206717a278fefa9a7a17 (diff) | |
download | hercules-5ca6022c40792a839c62f370c2671d802811f383.tar.gz hercules-5ca6022c40792a839c62f370c2671d802811f383.tar.bz2 hercules-5ca6022c40792a839c62f370c2671d802811f383.tar.xz hercules-5ca6022c40792a839c62f370c2671d802811f383.zip |
- Fixed char-server not sending party status update when a member logs on/off
- Fixed crash when parsing guild member information change from the char-server when the specified character is not found in the guild.
- Fixed MvP mobs giving exp when killed even if they shouldn't
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9802 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 68b1909d0..7304990d6 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -9861,7 +9861,8 @@ int atcommand_fakename(const int fd, struct map_session_data* sd, const char* co return 0; } - memcpy(sd->fakename,name,NAME_LENGTH-1); + memcpy(sd->fakename,name,NAME_LENGTH); + sd->fakename[NAME_LENGTH-1] = '\0'; clif_charnameack(0, &sd->bl); clif_displaymessage(sd->fd,"Fake name enabled."); |