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

Comparing deliantra/server/common/treasure.C (file contents):
Revision 1.83 by root, Sun Oct 5 14:16:13 2008 UTC vs.
Revision 1.84 by root, Thu Jan 1 11:41:17 2009 UTC

1566#if 1 1566#if 1
1567 LOG (llevError, "Got null entry and non zero roll in generate_artifact, type %d\n", op->type); 1567 LOG (llevError, "Got null entry and non zero roll in generate_artifact, type %d\n", op->type);
1568#endif 1568#endif
1569 return; 1569 return;
1570 } 1570 }
1571 if (!strcmp (art->item->name, "NONE")) 1571
1572 if (art->item->name == shstr_NONE)
1572 return; 1573 return;
1574
1573 if (FABS (op->magic) < art->item->magic) 1575 if (fabs (op->magic) < art->item->magic)
1574 continue; /* Not magic enough to be this item */ 1576 continue; /* Not magic enough to be this item */
1575 1577
1576 /* Map difficulty not high enough */ 1578 /* Map difficulty not high enough */
1577 if (difficulty < art->difficulty) 1579 if (difficulty < art->difficulty)
1578 continue; 1580 continue;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines