version 1.59 | | version 1.60 |
---|
| | |
/* | | /* |
* static char *rcsid_init_c = | | * static char *rcsid_init_c = |
* "$Id: request.c,v 1.59 2004/01/31 12:10:52 tchize Exp $"; | | * "$Id: request.c,v 1.60 2004/01/31 12:46:59 tchize Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
*/ | | */ |
| | |
oldlen = sl.len; | | oldlen = sl.len; |
//#if 0 | | #if 0 |
// /* First thing we do is blank out this space (clear it) | | /* First thing we do is blank out this space (clear it) |
// * if not already done. If the client is using darkness, and | | * if not already done. If the client is using darkness, and |
// * this space is at the edge, we also include the darkness. | | * this space is at the edge, we also include the darkness. |
// */ | | */ |
// if (d==4) { | | if (d==4) { |
// if (pl->contr->socket.darkness && pl->contr->socket.lastmap.cells[ax][ay].count != d) { | | if (pl->contr->socket.darkness && pl->contr->socket.lastmap.cells[ax][ay].count != d) { |
// mask |= 8; | | mask |= 8; |
// SockList_AddShort(&sl, mask); | | SockList_AddShort(&sl, mask); |
// SockList_AddChar(&sl, 0); | | SockList_AddChar(&sl, 0); |
// } | | } |
// count = d; | | count = d; |
// } else | | } else |
//#endif | | #endif |
{ | | { |
SockList_AddShort(&sl, mask); | | SockList_AddShort(&sl, mask); |
if (pl->contr->socket.lastmap.cells[ax][ay].count != -1) need_send=1; | | if (pl->contr->socket.lastmap.cells[ax][ay].count != -1) need_send=1; |