version 1.71 | | version 1.72 |
---|
| | |
/* | | /* |
* static char *rcsid_skills_c = | | * static char *rcsid_skills_c = |
* "$Id: skills.c,v 1.71 2006/01/08 16:31:19 akirschbaum Exp $"; | | * "$Id: skills.c,v 1.72 2006/01/08 16:54:38 akirschbaum Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
if(op->type==PLAYER && op->body_used[BODY_ARMS] <=0 && | | if(op->type==PLAYER && op->body_used[BODY_ARMS] <=0 && |
op->body_info[BODY_ARMS]) { | | op->body_info[BODY_ARMS]) { |
new_draw_info(NDI_UNIQUE, 0,op,"But you have no free hands to steal with!"); | | new_draw_info(NDI_UNIQUE, 0,op,"But you have no free hands to steal with!"); |
roll=-1; | | return -1; |
} | | } |
| | |
/* ADJUSTMENTS */ | | /* ADJUSTMENTS */ |
| | |
} /* for loop looking for an item */ | | } /* for loop looking for an item */ |
| | |
if (!tmp) { | | if (!tmp) { |
new_draw_info_format(NDI_UNIQUE, 0, who, "The %s has nothing you can steal!", | | new_draw_info_format(NDI_UNIQUE, 0, who, "%s%s has nothing you can steal!", |
query_name(op)); | | op->type == PLAYER ? "" : "The ", query_name(op)); |
return 0; | | return 0; |
} | | } |
| | |