(trade_desc, get_materials): Use i_type variable instead of int for
iterating over item types.
This commit is contained in:
parent
022685c47c
commit
e15b7e2b9a
2 changed files with 8 additions and 7 deletions
|
@ -47,7 +47,7 @@ void
|
|||
get_materials(struct sctstr *sp, int *bp, int *mvec, int check)
|
||||
/* only check if found=0, remove them=1 */
|
||||
{
|
||||
int i;
|
||||
i_type i;
|
||||
int still_left;
|
||||
|
||||
for (i = I_NONE + 1; i <= I_MAX; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue