ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/c_object.C
(Generate patch)

Comparing deliantra/server/server/c_object.C (file contents):
Revision 1.73 by root, Tue May 6 20:00:12 2008 UTC vs.
Revision 1.74 by root, Tue May 6 21:04:37 2008 UTC

484 * but that probably will make it more difficult to read, and 484 * but that probably will make it more difficult to read, and
485 * not make it any more efficient 485 * not make it any more efficient
486 */ 486 */
487 if (params && item_matched_string (op, tmp, params)) 487 if (params && item_matched_string (op, tmp, params))
488 { 488 {
489 if (--cnt < 0) break;
489 pick_up (op, tmp); 490 pick_up (op, tmp);
490 if (--cnt <= 0) break;
491 } 491 }
492 else if (can_pick (op, tmp) && !params) 492 else if (can_pick (op, tmp) && !params)
493 { 493 {
494 if (--cnt < 0) break;
494 pick_up (op, tmp); 495 pick_up (op, tmp);
495 break; 496 break;
496 } 497 }
497 498
498 tmp = next; 499 tmp = next;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines