- Normalized guild castle names so guardians may spawn properly again.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9974 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex 2007-03-07 17:19:35 +00:00
parent c350fe1318
commit ed7bef2fee

View File

@ -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);