… | |
… | |
1030 | int |
1030 | int |
1031 | check_pick (object *op) |
1031 | check_pick (object *op) |
1032 | { |
1032 | { |
1033 | object *tmp, *next; |
1033 | object *tmp, *next; |
1034 | int stop = 0; |
1034 | int stop = 0; |
1035 | int j, k, wvratio; |
1035 | int wvratio; |
1036 | char putstring[128], tmpstr[16]; |
1036 | char putstring[128]; |
1037 | |
1037 | |
1038 | /* if you're flying, you cna't pick up anything */ |
1038 | /* if you're flying, you cna't pick up anything */ |
1039 | if (op->move_type & MOVE_FLYING) |
1039 | if (op->move_type & MOVE_FLYING) |
1040 | return 1; |
1040 | return 1; |
1041 | |
1041 | |
… | |
… | |
3077 | } |
3077 | } |
3078 | |
3078 | |
3079 | int |
3079 | int |
3080 | is_true_undead (object *op) |
3080 | is_true_undead (object *op) |
3081 | { |
3081 | { |
3082 | object *tmp = NULL; |
|
|
3083 | |
|
|
3084 | if (QUERY_FLAG (&op->arch->clone, FLAG_UNDEAD)) |
3082 | if (QUERY_FLAG (&op->arch->clone, FLAG_UNDEAD)) |
3085 | return 1; |
3083 | return 1; |
3086 | |
3084 | |
3087 | return 0; |
3085 | return 0; |
3088 | } |
3086 | } |