… | |
… | |
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; |