--- deliantra/server/socket/loop.C 2008/01/13 12:39:29 1.71 +++ deliantra/server/socket/loop.C 2008/04/22 07:01:47 1.73 @@ -52,7 +52,7 @@ #define MAX_QUEUE_BACKLOG 3. // disconnect a socket after this many seconds without an ack -#define SOCKET_TIMEOUT 8. +#define SOCKET_TIMEOUT 16. void client::reset_state () @@ -122,13 +122,15 @@ */ esrv_update_stats (pl); - if (last_weight != -1 && last_weight != WEIGHT (pl->ob)) +#if 0 + if (last_weight != -1 && last_weight != pl->ob->client_weight ()) { esrv_update_item (UPD_WEIGHT, pl->ob, pl->ob); - if (last_weight != WEIGHT (pl->ob)) + if (last_weight != pl->ob->client_weight ()) LOG (llevError, "esrv_update_item(UPD_WEIGHT) did not set player weight: is %lu, should be %lu\n", - (unsigned long) last_weight, WEIGHT (pl->ob)); + (unsigned long) last_weight, pl->ob->client_weight ()); } +#endif draw_client_map (pl);