Use ITEM_MAX instead of 9999 as production material limit
No functional change, as ITEM_MAX is 9999, just cleaner.
This commit is contained in:
parent
f0927e7f64
commit
87b29f784d
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ prod_materials_cost(struct pchrstr *pp, short vec[], int *costp)
|
|||
int cost;
|
||||
int i, n;
|
||||
|
||||
count = 9999;
|
||||
count = ITEM_MAX;
|
||||
cost = 0;
|
||||
for (i = 0; i < MAXPRCON; ++i) {
|
||||
if (!pp->p_camt[i])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue