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

Comparing deliantra/server/common/living.C (file contents):
Revision 1.65 by root, Mon May 28 21:21:40 2007 UTC vs.
Revision 1.66 by root, Mon Jun 4 12:19:08 2007 UTC

1514 shstr_cmp dragon_ability_force ("dragon_ability_force"); 1514 shstr_cmp dragon_ability_force ("dragon_ability_force");
1515 shstr_cmp dragon_skin_force ("dragon_skin_force"); 1515 shstr_cmp dragon_skin_force ("dragon_skin_force");
1516 1516
1517 for (tmp = who->inv; tmp; tmp = tmp->below) 1517 for (tmp = who->inv; tmp; tmp = tmp->below)
1518 if (tmp->type == FORCE) 1518 if (tmp->type == FORCE)
1519 if (tmp->arch->name == dragon_ability_force) 1519 if (tmp->arch->archname == dragon_ability_force)
1520 abil = tmp; 1520 abil = tmp;
1521 else if (tmp->arch->name == dragon_skin_force) 1521 else if (tmp->arch->archname == dragon_skin_force)
1522 skin = tmp; 1522 skin = tmp;
1523 1523
1524 /* if the force is missing -> bail out */ 1524 /* if the force is missing -> bail out */
1525 if (abil == NULL) 1525 if (abil == NULL)
1526 return; 1526 return;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines