version 1.73 | | version 1.74 |
---|
| | |
/* | | /* |
* static char *rcsid_c_object_c = | | * static char *rcsid_c_object_c = |
* "$Id: c_object.c,v 1.73 2005/11/12 13:49:07 ryo_saeba Exp $"; | | * "$Id: c_object.c,v 1.74 2005/11/16 08:16:08 mwedel Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
* (sack, luggage, etc), tmp->env->env then points to the player (nested | | * (sack, luggage, etc), tmp->env->env then points to the player (nested |
* containers not allowed as of now) | | * containers not allowed as of now) |
*/ | | */ |
if(QUERY_FLAG(pl, FLAG_FLYING) && !QUERY_FLAG(pl, FLAG_WIZ) && | | if((pl->move_type & MOVE_FLYING) && !QUERY_FLAG(pl, FLAG_WIZ) && |
is_player_inv(tmp)!=pl) { | | is_player_inv(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; |
| | |
* types - especially if the first entry is a match | | * types - especially if the first entry is a match |
*/ | | */ |
if(tmp->msg && tmp->type != EXIT && tmp->type != BOOK && | | if(tmp->msg && tmp->type != EXIT && tmp->type != BOOK && |
tmp->type != CORPSE && !QUERY_FLAG(tmp, FLAG_WALK_ON) && | | tmp->type != CORPSE && !tmp->move_on && |
strncasecmp(tmp->msg, "@match",7)) { | | strncasecmp(tmp->msg, "@match",7)) { |
| | |
/* This is just a hack so when identifying hte items, we print | | /* This is just a hack so when identifying hte items, we print |