(alloc_bp, bp_alloc): Rename.
(fill_update_array, bp_set_from_sect): Rename. (gt_bg_nmbr, pt_bg_nmbr, bp_get_item, bp_get_avail, bp_put_item, bp_put_avail): Separate accessor functions for item and avail.
This commit is contained in:
parent
ec203e88ad
commit
c9c06d4fbe
11 changed files with 50 additions and 34 deletions
|
@ -77,7 +77,7 @@ prepare_sects(int etu, struct bp *bp)
|
|||
|
||||
if (sp->sct_type == SCT_WATER)
|
||||
continue;
|
||||
fill_update_array(bp, sp);
|
||||
bp_set_from_sect(bp, sp);
|
||||
np = getnatp(sp->sct_own);
|
||||
|
||||
#ifdef DEBUG
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue