version 1.41 | | version 1.42 |
---|
| | |
/* | | /* |
* static char *rcsid_init_c = | | * static char *rcsid_init_c = |
* "$Id: request.c,v 1.41 2002/07/15 04:57:13 mwedel Exp $"; | | * "$Id: request.c,v 1.42 2002/07/25 06:57:14 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
if (update_space(&sl, &pl->contr->socket, m, nx, ny, ax, ay, 1)) | | if (update_space(&sl, &pl->contr->socket, m, nx, ny, ax, ay, 1)) |
mask |= 0x2; | | mask |= 0x2; |
| | |
| | |
| | if(nx == pl->x && ny == pl->y && pl->invisible & (pl->invisible < 50 ? 4 : 1)) { |
| | if (pl->contr->socket.lastmap.cells[ax][ay].faces[0] != pl->face->number) { |
| | pl->contr->socket.lastmap.cells[ax][ay].faces[0] = pl->face->number; |
| | mask |= 0x1; |
| | if (pl->contr->socket.faces_sent[pl->face->number] == 0) |
| | esrv_send_face(&pl->contr->socket, pl->face->number, 0); |
| | SockList_AddShort(&sl, pl->face->number); |
| | } |
| | } |
/* Top face */ | | /* Top face */ |
if (update_space(&sl, &pl->contr->socket, m, nx, ny, ax, ay, 0)) | | else if (update_space(&sl, &pl->contr->socket, m, nx, ny, ax, ay, 0)) |
mask |= 0x1; | | mask |= 0x1; |
| | |
/* Check to see if we are in fact sending anything for this | | /* Check to see if we are in fact sending anything for this |