… | |
… | |
857 | * Takes one type of items and makes another. |
857 | * Takes one type of items and makes another. |
858 | * converter is the object that is doing the conversion. |
858 | * converter is the object that is doing the conversion. |
859 | * item is the object that triggered the converter - if it is not |
859 | * item is the object that triggered the converter - if it is not |
860 | * what the converter wants, this will not do anything. |
860 | * what the converter wants, this will not do anything. |
861 | */ |
861 | */ |
862 | static int |
862 | int |
863 | convert_item (object *item, object *converter) |
863 | convert_item (object *item, object *converter) |
864 | { |
864 | { |
865 | sint64 nr, price_in; |
865 | sint64 nr, price_in; |
866 | |
866 | |
867 | if (item->flag [FLAG_UNPAID]) |
867 | if (item->flag [FLAG_UNPAID]) |