*
* ---
*
- * See the "LEGAL", "LICENSE", "CREDITS" and "README" files for all the
- * related information and legal notices. It is expected that any future
- * projects/authors will amend these files as needed.
+ * See files README, COPYING and CREDITS in the root of the source
+ * tree for related information and legal notices. It is expected
+ * that future projects/authors will amend these files as needed.
*
* ---
*
new_work(struct sctstr *sp, int delta)
{
if (sp->sct_type == sp->sct_newtype)
- return min(rollover_avail_max, sp->sct_avail) + delta;
+ return MIN(rollover_avail_max, sp->sct_avail) + delta;
return delta;
}
food_workers = work * fcrate;
food_fertil = etu * sp->sct_fertil * fgrate;
- food = min(food_workers, food_fertil);
+ food = MIN(food_workers, food_fertil);
if (food > ITEM_MAX - vec[I_FOOD])
food = ITEM_MAX - vec[I_FOOD];
/*