… | |
… | |
442 | |
442 | |
443 | /* take away any special god-characteristic items. */ |
443 | /* take away any special god-characteristic items. */ |
444 | for (item = op->inv; item != NULL; item = next) |
444 | for (item = op->inv; item != NULL; item = next) |
445 | { |
445 | { |
446 | next = item->below; |
446 | next = item->below; |
447 | /* remove all invisible startequip items which are |
447 | // remove all invisible startequip items which are not skill, exp or force |
448 | * not skill, exp or force |
|
|
449 | */ |
|
|
450 | if (QUERY_FLAG (item, FLAG_STARTEQUIP) && item->invisible && |
448 | if (QUERY_FLAG (item, FLAG_STARTEQUIP) && item->invisible && |
451 | (item->type != SKILL) && (item->type != EXPERIENCE) && (item->type != FORCE)) |
449 | (item->type != SKILL) && (item->type != FORCE)) |
452 | { |
450 | { |
453 | |
451 | |
454 | if (item->type == SPELL) |
452 | if (item->type == SPELL) |
455 | new_draw_info_format (NDI_UNIQUE | NDI_NAVY, 0, op, "You lose knowledge of %s.", &item->name); |
453 | new_draw_info_format (NDI_UNIQUE | NDI_NAVY, 0, op, "You lose knowledge of %s.", &item->name); |
456 | |
454 | |