… | |
… | |
520 | |
520 | |
521 | return 0; |
521 | return 0; |
522 | } |
522 | } |
523 | |
523 | |
524 | /* |
524 | /* |
525 | * This function was part of drop, now is own function. |
525 | * This function was part of drop, now is own function. |
526 | * Player 'op' tries to put object 'tmp' into sack 'sack', |
526 | * Player 'op' tries to put object 'tmp' into sack 'sack', |
527 | * if nrof is non zero, then nrof objects is tried to put into sack. |
527 | * if nrof is non zero, then nrof objects is tried to put into sack. |
|
|
528 | * |
528 | * Note that the 'sack' in question can now be a transport, |
529 | * Note that the 'sack' in question can now be a transport, |
529 | * so this function isn't named very good anymore. |
530 | * so this function isn't named very good anymore. |
530 | */ |
531 | */ |
531 | void |
532 | void |
532 | put_object_in_sack (object *op, object *sack, object *tmp, uint32 nrof) |
533 | put_object_in_sack (object *op, object *sack, object *tmp, uint32 nrof) |