summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-08-09 11:02:44 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-08-09 11:02:44 +0000
commitc10d6dd38c9fff3ea0ec335465b7f632d5b086db (patch)
tree6c5c6ce4e7392a8a0645dc132d7f21f325b0cb99 /src/char
parent8422b98a28e183d714d721a0b201391e183fb546 (diff)
downloadhercules-c10d6dd38c9fff3ea0ec335465b7f632d5b086db.tar.gz
hercules-c10d6dd38c9fff3ea0ec335465b7f632d5b086db.tar.bz2
hercules-c10d6dd38c9fff3ea0ec335465b7f632d5b086db.tar.xz
hercules-c10d6dd38c9fff3ea0ec335465b7f632d5b086db.zip
The new functions now clear junk from the output buffer, this simplifies the code a bit.
Added a TODO for one emblem loading problem/crash. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10969 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char')
-rw-r--r--src/char/char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/char.c b/src/char/char.c
index b1675b7ab..7d39e6d92 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -3451,7 +3451,7 @@ int parse_char(int fd)
WFIFOHEAD(fd,28);
WFIFOW(fd,0) = 0x71;
WFIFOL(fd,2) = cd->char_id;
- safestrncpy((char*)WFIFOP(fd,6), mapindex_getmapname_ext(mapindex_id2name(cd->last_point.map),NULL), MAP_NAME_LENGTH_EXT);
+ mapindex_getmapname_ext(mapindex_id2name(cd->last_point.map), (char*)WFIFOP(fd,6));
{
// Advanced subnet check [LuzZza]
uint32 subnet_map_ip;