summaryrefslogtreecommitdiff
path: root/src/map/guild.c
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/map/guild.c
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/map/guild.c')
-rw-r--r--src/map/guild.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/guild.c b/src/map/guild.c
index ba0fc2829..b1a8ea8a2 100644
--- a/src/map/guild.c
+++ b/src/map/guild.c
@@ -185,7 +185,7 @@ static int guild_read_castledb(void)
gc=(struct guild_castle *)aCalloc(1,sizeof(struct guild_castle));
gc->castle_id=atoi(str[0]);
- safestrncpy(gc->map_name,mapindex_getmapname(str[1],NULL),MAP_NAME_LENGTH);
+ mapindex_getmapname(str[1],gc->map_name);
safestrncpy(gc->castle_name,str[2],NAME_LENGTH);
safestrncpy(gc->castle_event,str[3],NAME_LENGTH);