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

Comparing deliantra/server/server/skills.C (file contents):
Revision 1.47 by root, Mon Apr 21 06:35:26 2008 UTC vs.
Revision 1.48 by root, Mon Apr 21 07:01:40 2008 UTC

1674 left = throw_ob; /* these are throwing objects left to the player */ 1674 left = throw_ob; /* these are throwing objects left to the player */
1675 1675
1676 /* sometimes get_split_ob can't split an object (because op->nrof==0?) 1676 /* sometimes get_split_ob can't split an object (because op->nrof==0?)
1677 * and returns NULL. We must use 'left' then 1677 * and returns NULL. We must use 'left' then
1678 */ 1678 */
1679 1679 if (!(throw_ob = throw_ob->split ()))
1680 if ((throw_ob = get_split_ob (throw_ob, 1)) == NULL)
1681 { 1680 {
1682 throw_ob = left; 1681 throw_ob = left;
1683 left->remove (); 1682 left->remove ();
1684 if (op->type == PLAYER) 1683 if (op->type == PLAYER)
1685 esrv_del_item (op->contr, left->count); 1684 esrv_del_item (op->contr, left->count);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines