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

Comparing deliantra/server/server/apply.C (file contents):
Revision 1.66 by root, Mon Feb 5 02:07:40 2007 UTC vs.
Revision 1.67 by root, Thu Feb 8 03:09:32 2007 UTC

3650 3650
3651 case TREASURE: 3651 case TREASURE:
3652 if (QUERY_FLAG (op, FLAG_IS_A_TEMPLATE)) 3652 if (QUERY_FLAG (op, FLAG_IS_A_TEMPLATE))
3653 return 0; 3653 return 0;
3654 3654
3655 while ((op->stats.hp--) > 0) 3655 while (op->stats.hp-- > 0)
3656 create_treasure (op->randomitems, op, op->map ? GT_ENVIRONMENT : 0, 3656 create_treasure (op->randomitems, op, op->map ? GT_ENVIRONMENT : 0,
3657 op->stats.exp ? (int) op->stats.exp : op->map == NULL ? 14 : op->map->difficulty, 0); 3657 op->stats.exp ? (int) op->stats.exp : op->map == NULL ? 14 : op->map->difficulty, 0);
3658 3658
3659 /* If we generated an object and put it in this object inventory, 3659 /* If we generated an object and put it in this object inventory,
3660 * move it to the parent object as the current object is about 3660 * move it to the parent object as the current object is about

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines