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.110 by elmex, Wed May 5 09:42:52 2010 UTC vs.
Revision 1.111 by root, Sat Apr 16 02:35:53 2011 UTC

1489 name = tmp->name + 1, neg = 1; 1489 name = tmp->name + 1, neg = 1;
1490 else 1490 else
1491 name = tmp->name, neg = 0; 1491 name = tmp->name, neg = 0;
1492 1492
1493 /* If we match name, then return the opposite of 'neg' */ 1493 /* If we match name, then return the opposite of 'neg' */
1494 if (!strcmp (name, op->name) || (op->arch && !strcmp (name, op->arch->archname))) 1494 if (!strcmp (name, op->arch->archname))
1495 return !neg; 1495 return !neg;
1496 1496
1497 /* Set success as true, since if the match was an inverse, it means 1497 /* Set success as true, since if the match was an inverse, it means
1498 * everything is allowed except what we match 1498 * everything is allowed except what we match
1499 */ 1499 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines