… | |
… | |
1031 | |
1031 | |
1032 | /* If player is just joining the game, he isn't here yet, so the map |
1032 | /* If player is just joining the game, he isn't here yet, so the map |
1033 | * can get swapped out. If so, don't try to send them a map. All will |
1033 | * can get swapped out. If so, don't try to send them a map. All will |
1034 | * be OK once they really log in. |
1034 | * be OK once they really log in. |
1035 | */ |
1035 | */ |
1036 | if (!plmap || plmap->in_memory != MAP_IN_MEMORY) |
1036 | if (!plmap || plmap->in_memory != MAP_ACTIVE) |
1037 | return; |
1037 | return; |
1038 | |
1038 | |
1039 | int x, y, ax, ay, startlen, max_x, max_y, oldlen; |
1039 | int x, y, ax, ay, startlen, max_x, max_y, oldlen; |
1040 | int estartlen, eoldlen; |
1040 | int estartlen, eoldlen; |
1041 | uint8 eentrysize; |
1041 | uint8 eentrysize; |