version 1.82 | | version 1.83 |
---|
| | |
/* | | /* |
* static char *rcsid_c_object_c = | | * static char *rcsid_c_object_c = |
* "$Id: c_object.c,v 1.82 2006/06/02 08:19:35 akirschbaum Exp $"; | | * "$Id: c_object.c,v 1.83 2006/07/02 15:32:35 tchize Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
* containers not allowed as of now) | | * containers not allowed as of now) |
*/ | | */ |
if((pl->move_type & MOVE_FLYING) && !QUERY_FLAG(pl, FLAG_WIZ) && | | if((pl->move_type & MOVE_FLYING) && !QUERY_FLAG(pl, FLAG_WIZ) && |
is_player_inv(tmp)!=pl) { | | get_player_container(tmp)!=pl) { |
new_draw_info(NDI_UNIQUE, 0,pl, "You are levitating, you can't reach the ground!"); | | new_draw_info(NDI_UNIQUE, 0,pl, "You are levitating, you can't reach the ground!"); |
return; | | return; |
} | | } |