version 1.150 | | version 1.151 |
---|
| | |
/* | | /* |
* static char *rcsid_player_c = | | * static char *rcsid_player_c = |
* "$Id: player.c,v 1.150 2004/04/16 06:23:44 mwedel Exp $"; | | * "$Id: player.c,v 1.151 2004/06/13 17:30:38 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
p->last_resist[i] = -1; | | p->last_resist[i] = -1; |
} | | } |
p->last_stats.exp = -1; | | p->last_stats.exp = -1; |
| | p->last_weight = (uint32)-1; |
| | |
p->socket.update_look=0; | | p->socket.update_look=0; |
p->socket.look_position=0; | | p->socket.look_position=0; |
| | |
if(old == sum) | | if(old == sum) |
continue; | | continue; |
fix_player(pl->ob); | | fix_player(pl->ob); |
esrv_update_item(UPD_WEIGHT, pl->ob, pl->ob); | | |
LOG(llevDebug,"Fixed inventory in %s (%d -> %d)\n", | | LOG(llevDebug,"Fixed inventory in %s (%d -> %d)\n", |
pl->ob->name, old, sum); | | pl->ob->name, old, sum); |
} | | } |