Mapcache update, should polish off remaining bugs

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@10003 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
DracoRPG
2007-03-13 20:24:08 +00:00
parent a519071a70
commit 58dcd187b0
19 changed files with 326 additions and 1863 deletions

View File

@@ -3359,10 +3359,12 @@ int parse_char(int fd) {
char_dat.last_point.map = j;
}
{ //Send player to map.
char map_name[MAP_NAME_LENGTH];
snprintf(map_name, MAP_NAME_LENGTH, "%s.gat", mapindex_id2name(char_dat.last_point.map));
WFIFOHEAD(fd,28);
WFIFOW(fd, 0) =0x71;
WFIFOL(fd, 2) =char_dat.char_id;
memcpy(WFIFOP(fd,6), mapindex_id2name(char_dat.last_point.map), MAP_NAME_LENGTH);
memcpy(WFIFOP(fd,6), map_name, MAP_NAME_LENGTH);
// Advanced subnet check [LuzZza]
if((subnet_map_ip = lan_subnetcheck((long *)p)))