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.60 by root, Wed Dec 31 17:35:38 2008 UTC vs.
Revision 1.61 by root, Thu Jan 1 16:05:13 2009 UTC

1479 for (tmp = op->inv; tmp != NULL; tmp = tmp->below) 1479 for (tmp = op->inv; tmp != NULL; tmp = tmp->below)
1480 { 1480 {
1481 /* can't toss invisible or inv-locked items */ 1481 /* can't toss invisible or inv-locked items */
1482 if (tmp->invisible || QUERY_FLAG (tmp, FLAG_INV_LOCKED)) 1482 if (tmp->invisible || QUERY_FLAG (tmp, FLAG_INV_LOCKED))
1483 continue; 1483 continue;
1484 if (!request || !strcmp (query_name (tmp), request) || !strcmp (tmp->name, request)) 1484 if (!request || !strcmp (query_name (tmp), request) || !strcmp (&tmp->name, request))
1485 break; 1485 break;
1486 } 1486 }
1487 } 1487 }
1488 1488
1489 /* this should prevent us from throwing away 1489 /* this should prevent us from throwing away

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines