… | |
… | |
503 | |
503 | |
504 | return 0; |
504 | return 0; |
505 | } |
505 | } |
506 | |
506 | |
507 | /* |
507 | /* |
508 | * This function was part of drop, now is own function. |
508 | * This function was part of drop, now is own function. |
509 | * Player 'op' tries to put object 'tmp' into sack 'sack', |
509 | * Player 'op' tries to put object 'tmp' into sack 'sack', |
510 | * if nrof is non zero, then nrof objects is tried to put into sack. |
510 | * if nrof is non zero, then nrof objects is tried to put into sack. |
511 | * |
511 | * |
512 | * Note that the 'sack' in question can now be a transport, |
512 | * Note that the 'sack' in question can now be a transport, |
513 | * so this function isn't named very good anymore. |
513 | * so this function isn't named very good anymore. |
514 | */ |
514 | */ |
515 | void |
515 | void |
… | |
… | |
737 | } |
737 | } |
738 | |
738 | |
739 | object *curinv = op->inv; |
739 | object *curinv = op->inv; |
740 | object *nextinv; |
740 | object *nextinv; |
741 | |
741 | |
742 | /* |
742 | /* |
743 | This is the default. Drops everything not locked or considered |
743 | This is the default. Drops everything not locked or considered |
744 | not something that should be dropped. |
744 | not something that should be dropped. |
745 | */ |
745 | */ |
746 | /* |
746 | /* |
747 | Care must be taken that the next item pointer is not to money as |
747 | Care must be taken that the next item pointer is not to money as |