version 1.73 | | version 1.74 |
---|
| | |
/* | | /* |
* static char *rcsid_init_c = | | * static char *rcsid_init_c = |
* "$Id: request.c,v 1.73 2005/10/24 22:51:03 akirschbaum Exp $"; | | * "$Id: request.c,v 1.74 2005/10/28 19:08:53 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
| | |
/** client wants the map resent */ | | /** client wants the map resent */ |
| | |
void MapRedrawCmd(char *buff, int len, player *pl) | | void MapRedrawCmd(char *buf, int len, player *pl) |
{ | | { |
/* This function is currently disabled; just clearing the map state results in | | /* This function is currently disabled; just clearing the map state results in |
* display errors. It should clear the cache and send a newmap command. | | * display errors. It should clear the cache and send a newmap command. |
| | |
eentrysize=getExtendedMapInfoSize(&(pl->contr->socket)); | | eentrysize=getExtendedMapInfoSize(&(pl->contr->socket)); |
SockList_AddChar(&esl, eentrysize); | | SockList_AddChar(&esl, eentrysize); |
estartlen = esl.len; | | estartlen = esl.len; |
| | } else { |
| | /* suppress compiler warnings */ |
| | ewhatstart = 0; |
| | ewhatflag = 0; |
| | estartlen = 0; |
} | | } |
/* Init data to zero */ | | /* Init data to zero */ |
memset(heads, 0, sizeof(object *) * MAX_HEAD_POS * MAX_HEAD_POS * MAX_LAYERS); | | memset(heads, 0, sizeof(object *) * MAX_HEAD_POS * MAX_HEAD_POS * MAX_LAYERS); |