Searched refs:nmost2 (Results 1 – 1 of 1) sorted by relevance
541 int n = 0, nmost2 = 0; in most_needed_material() local549 nmost2 = um_storage_x(unit->type, m) - unit->supply[m]; in most_needed_material()553 if (n > nmost2) { in most_needed_material()554 nmost2 = n; in most_needed_material()559 *nmost = nmost2; in most_needed_material()569 int n = 0, nmost2 = 0; in most_wanted_material() local577 nmost2 = um_storage_x(unit->type, m) - unit->supply[m]; in most_wanted_material()581 if (n > nmost2) { in most_wanted_material()582 nmost2 = n; in most_wanted_material()587 *nmost = nmost2; in most_wanted_material()