… | |
… | |
867 | if (op->move_type & MOVE_FLYING) |
867 | if (op->move_type & MOVE_FLYING) |
868 | return 1; |
868 | return 1; |
869 | |
869 | |
870 | next = op->below; |
870 | next = op->below; |
871 | |
871 | |
872 | int cnt = MAX_ITEM_PER_DROP; |
872 | int cnt = MAX_ITEM_PER_ACTION; |
873 | #define CHK_PICK_PICKUP do { pick_up (op, tmp); cnt--; } while (0) |
873 | #define CHK_PICK_PICKUP do { pick_up (op, tmp); cnt--; } while (0) |
874 | |
874 | |
875 | /* loop while there are items on the floor that are not marked as |
875 | /* loop while there are items on the floor that are not marked as |
876 | * destroyed */ |
876 | * destroyed */ |
877 | while (next && !next->destroyed ()) |
877 | while (next && !next->destroyed ()) |