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

Comparing deliantra/server/server/rune.C (file contents):
Revision 1.11 by root, Wed Dec 13 03:28:42 2006 UTC vs.
Revision 1.12 by root, Mon Dec 18 03:00:02 2006 UTC

228 228
229 if (victim->destroyed ()) 229 if (victim->destroyed ())
230 return; 230 return;
231 231
232 /* if there's a disease in the needle, put it in the player */ 232 /* if there's a disease in the needle, put it in the player */
233 if (HAS_RANDOM_ITEMS (op)) 233 if (op->has_random_items ())
234 create_treasure (op->randomitems, op, 0, (victim->map ? victim->map->difficulty : 1), 0); 234 create_treasure (op->randomitems, op, 0, (victim->map ? victim->map->difficulty : 1), 0);
235 235
236 if (op->inv && op->inv->type == DISEASE) 236 if (op->inv && op->inv->type == DISEASE)
237 { 237 {
238 object *disease = op->inv; 238 object *disease = op->inv;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines