version 1.48 | | version 1.49 |
---|
| | |
/* | | /* |
* static char *rcsid_skills_c = | | * static char *rcsid_skills_c = |
* "$Id: skills.c,v 1.48 2004/02/17 00:22:24 mwedel Exp $"; | | * "$Id: skills.c,v 1.49 2004/03/23 07:52:32 mwedel Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
| | |
if(!op||!victim||!roll) return -1; | | if(!op||!victim||!roll) return -1; |
| | |
if(op->type==PLAYER && op->body_used[BODY_ARMS] <=0) { | | /* Only prohibit stealing if the player does not have a free |
| | * hand available and in fact does have hands. |
| | */ |
| | if(op->type==PLAYER && op->body_used[BODY_ARMS] <=0 && |
| | 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; | | roll=-1; |
} | | } |