version 1.70 | | version 1.71 |
---|
| | |
/* | | /* |
* static char *rcsid_skills_c = | | * static char *rcsid_skills_c = |
* "$Id: skills.c,v 1.70 2006/01/01 20:57:25 akirschbaum Exp $"; | | * "$Id: skills.c,v 1.71 2006/01/08 16:31:19 akirschbaum Exp $"; |
*/ | | */ |
/* | | /* |
CrossFire, A Multiplayer game for X-windows | | CrossFire, A Multiplayer game for X-windows |
| | |
new_draw_info(NDI_UNIQUE, 0, who, "You can't steal from the dungeon master!\n"); | | new_draw_info(NDI_UNIQUE, 0, who, "You can't steal from the dungeon master!\n"); |
return 0; | | return 0; |
} | | } |
| | if(op->type == PLAYER && who->type == PLAYER && settings.no_player_stealing) { |
| | new_draw_info(NDI_UNIQUE, 0, who, "You can't steal from other players!\n"); |
| | return 0; |
| | } |
| | |
| | |
/* Ok then, go thru their inventory, stealing */ | | /* Ok then, go thru their inventory, stealing */ |
for(tmp = op->inv; tmp != NULL; tmp = next) { | | for(tmp = op->inv; tmp != NULL; tmp = next) { |