version 1.26 | | version 1.27 |
---|
| | |
| | |
/* | | /* |
* static char *rcsid_loop_c = | | * static char *rcsid_loop_c = |
* "$Id: loop.c,v 1.26 2003/12/02 18:51:44 ryo_saeba Exp $"; | | * "$Id: loop.c,v 1.27 2004/06/13 17:30:39 akirschbaum 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)) { |
| | esrv_update_item(UPD_WEIGHT, pl->ob, 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)); |
| | } |
if (pl->ob->map && pl->ob->map->in_memory==MAP_IN_MEMORY) | | if (pl->ob->map && pl->ob->map->in_memory==MAP_IN_MEMORY) |
draw_client_map(pl->ob); | | draw_client_map(pl->ob); |
if (pl->socket.update_look) esrv_draw_look(pl->ob); | | if (pl->socket.update_look) esrv_draw_look(pl->ob); |