version 1.42 | | version 1.43 |
---|
| | |
/* | | /* |
* static char *rcsid_c_object_c = | | * static char *rcsid_c_object_c = |
* "$Id: c_object.c,v 1.42 2002/12/01 03:46:25 mwedel Exp $"; | | * "$Id: c_object.c,v 1.43 2002/12/03 07:40:17 mwedel Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
else | | else |
effective_weight_limit = weight_limit[MAX_STAT]; | | effective_weight_limit = weight_limit[MAX_STAT]; |
if ((pl->weight + pl->carrying + weight) > effective_weight_limit) { | | if ((pl->weight + pl->carrying + weight) > effective_weight_limit) { |
new_draw_info(NDI_UNIQUE, 0,pl,"That item is too heavy for you to pick up."); | | new_draw_info(0, 0,pl,"That item is too heavy for you to pick up."); |
return; | | return; |
} | | } |
if (settings.real_wiz == FALSE && QUERY_FLAG(pl, FLAG_WAS_WIZ)) | | if (settings.real_wiz == FALSE && QUERY_FLAG(pl, FLAG_WAS_WIZ)) |