… | |
… | |
154 | /* If it starts with a letter, presume it is a description */ |
154 | /* If it starts with a letter, presume it is a description */ |
155 | if (isalpha (*stringarg)) |
155 | if (isalpha (*stringarg)) |
156 | { |
156 | { |
157 | artifact *al = find_artifactlist (missile->type)->items; |
157 | artifact *al = find_artifactlist (missile->type)->items; |
158 | |
158 | |
159 | for (; al != NULL; al = al->next) |
159 | for (; al; al = al->next) |
160 | if (!strcasecmp (al->item->name, stringarg)) |
160 | if (!strcasecmp (al->item->name, stringarg)) |
161 | break; |
161 | break; |
162 | |
162 | |
163 | if (!al) |
163 | if (!al) |
164 | { |
164 | { |