(mchrstr, lchrstr): Change from variable-style storage of load
capacities to straight arrays. Users now subscript the array instead of calling vl_find() or walking the variable data structure. (mchr, lchr): Initializers adapted. (vl_find): No longer used. Remove file.
This commit is contained in:
parent
a965b2d25e
commit
8a0854b6b8
22 changed files with 168 additions and 697 deletions
|
@ -414,10 +414,7 @@ nullify_objects(void)
|
|||
if (opt_NO_LCMS)
|
||||
lchr[i].l_lcm = 0;
|
||||
/* Fix up the military values */
|
||||
for (j = 0; j < lchr[i].l_nv; j++) {
|
||||
if (lchr[i].l_vtype[j] == V_MILIT)
|
||||
lchr[i].l_mil = lchr[i].l_vamt[j];
|
||||
}
|
||||
lchr[i].l_mil = lchr[i].l_item[I_MILIT];
|
||||
}
|
||||
for (i = 0; i < shp_maxno; i++) {
|
||||
if (opt_NO_HCMS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue