… | |
… | |
40 | return -1; |
40 | return -1; |
41 | |
41 | |
42 | /* Only prohibit stealing if the player does not have a free |
42 | /* Only prohibit stealing if the player does not have a free |
43 | * hand available and in fact does have hands. |
43 | * hand available and in fact does have hands. |
44 | */ |
44 | */ |
45 | if (op->type == PLAYER && op->body_used[BODY_ARMS] <= 0 && op->body_info[BODY_ARMS]) |
45 | if (op->type == PLAYER && op->slot[BODY_ARMS].used <= 0 && op->slot[BODY_ARMS].info) |
46 | { |
46 | { |
47 | new_draw_info (NDI_UNIQUE, 0, op, "But you have no free hands to steal with!"); |
47 | new_draw_info (NDI_UNIQUE, 0, op, "But you have no free hands to steal with!"); |
48 | return -1; |
48 | return -1; |
49 | } |
49 | } |
50 | |
50 | |