version 1.30 | | version 1.31 |
---|
| | |
| | |
/* | | /* |
* static char *rcsid_loop_c = | | * static char *rcsid_loop_c = |
* "$Id: loop.c,v 1.30 2005/09/04 16:58:13 akirschbaum Exp $"; | | * "$Id: loop.c,v 1.31 2005/10/01 16:36:35 ryo_saeba Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
* sending them whenever they change, and probably just as useful | | * sending them whenever they change, and probably just as useful |
*/ | | */ |
esrv_update_stats(pl); | | esrv_update_stats(pl); |
if (pl->last_weight != (uint32)-1 && pl->last_weight != WEIGHT(pl->ob)) { | | if (pl->last_weight != -1 && pl->last_weight != WEIGHT(pl->ob)) { |
esrv_update_item(UPD_WEIGHT, pl->ob, pl->ob); | | esrv_update_item(UPD_WEIGHT, pl->ob, pl->ob); |
if(pl->last_weight != WEIGHT(pl->ob)) | | if(pl->last_weight != WEIGHT(pl->ob)) |
LOG(llevError, "esrv_update_item(UPD_WEIGHT) did not set player weight: is %lu, should be %lu\n", (unsigned long)pl->last_weight, WEIGHT(pl->ob)); | | LOG(llevError, "esrv_update_item(UPD_WEIGHT) did not set player weight: is %lu, should be %lu\n", (unsigned long)pl->last_weight, WEIGHT(pl->ob)); |