version 1.43 | | version 1.44 |
---|
| | |
/* | | /* |
* static char *rcsid_init_c = | | * static char *rcsid_init_c = |
* "$Id: request.c,v 1.43 2002/09/07 05:55:18 mwedel Exp $"; | | * "$Id: request.c,v 1.44 2002/10/03 07:07:44 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
* can get swapped out. If so, don't try to send them a map. All will | | * can get swapped out. If so, don't try to send them a map. All will |
* be OK once they really log in. | | * be OK once they really log in. |
*/ | | */ |
if (pl->map->in_memory!=MAP_IN_MEMORY) return; | | if (pl->map==NULL || pl->map->in_memory!=MAP_IN_MEMORY) return; |
memset(&newmap, 0, sizeof(struct Map)); | | memset(&newmap, 0, sizeof(struct Map)); |
| | |
for(j = (pl->y - pl->contr->socket.mapy/2) ; j < (pl->y + (pl->contr->socket.mapy+1)/2); j++) { | | for(j = (pl->y - pl->contr->socket.mapy/2) ; j < (pl->y + (pl->contr->socket.mapy+1)/2); j++) { |