… | |
… | |
926 | |
926 | |
927 | /* If player is just joining the game, he isn't here yet, so the map |
927 | /* If player is just joining the game, he isn't here yet, so the map |
928 | * can get swapped out. If so, don't try to send them a map. All will |
928 | * can get swapped out. If so, don't try to send them a map. All will |
929 | * be OK once they really log in. |
929 | * be OK once they really log in. |
930 | */ |
930 | */ |
931 | if (!ob->map || ob->map->in_memory != MAP_ACTIVE) |
931 | if (!ob->map || ob->map->state != MAP_ACTIVE) |
932 | return; |
932 | return; |
933 | |
933 | |
934 | int startlen, oldlen; |
934 | int startlen, oldlen; |
935 | |
935 | |
936 | check_map_change (pl); |
936 | check_map_change (pl); |