summaryrefslogtreecommitdiff
path: root/src/map/guild.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-07 17:19:35 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-03-07 17:19:35 +0000
commit4f713a631bcb5df4ee4afc8667b51c2893ce693b (patch)
tree0fd8e11f99d2d1d84dd62d60858b95b1366a5e88 /src/map/guild.c
parentdfb7b664299f5af5503d14bf914c5ca4bfb745be (diff)
downloadhercules-4f713a631bcb5df4ee4afc8667b51c2893ce693b.tar.gz
hercules-4f713a631bcb5df4ee4afc8667b51c2893ce693b.tar.bz2
hercules-4f713a631bcb5df4ee4afc8667b51c2893ce693b.tar.xz
hercules-4f713a631bcb5df4ee4afc8667b51c2893ce693b.zip
- Normalized guild castle names so guardians may spawn properly again.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9974 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 a4c751e64..89778809f 100644
--- a/src/map/guild.c
+++ b/src/map/guild.c
@@ -183,7 +183,7 @@ static int guild_read_castledb(void)
gc=(struct guild_castle *)aCalloc(1,sizeof(struct guild_castle));
gc->castle_id=atoi(str[0]);
- memcpy(gc->map_name,str[1],MAP_NAME_LENGTH-1);
+ memcpy(gc->map_name,map_normalize_name(str[1]),MAP_NAME_LENGTH-1);
memcpy(gc->castle_name,str[2],NAME_LENGTH-1);
memcpy(gc->castle_event,str[3],NAME_LENGTH-1);