(ship_ca): Fix selector name's ca_len.
(xflds): Ignore ca_len for NSC_STRINGY.
This commit is contained in:
parent
8982ff2e18
commit
8db5a84a8f
2 changed files with 5 additions and 4 deletions
|
@ -143,7 +143,7 @@ struct castr ship_ca[] = {
|
|||
{NSC_TIME, 0, 0, fldoff(shpstr, shp_access), "access"},
|
||||
{NSC_TIME, 0, 0, fldoff(shpstr, shp_timestamp), "timestamp"},
|
||||
/* FIXME sail stuff missing */
|
||||
{NSC_STRINGY, 0, 0, fldoff(shpstr, shp_name), "name"},
|
||||
{NSC_STRINGY, 0, MAXSHPNAMLEN, fldoff(shpstr, shp_name), "name"},
|
||||
{NSC_UCHAR, 0, 0, fldoff(shpstr, shp_fuel), "fuel"},
|
||||
{NSC_UCHAR, 0, 0, fldoff(shpstr, shp_nchoppers), "nchoppers"},
|
||||
{NSC_UCHAR, 0, 0, fldoff(shpstr, shp_nxlight), "nxlight"},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue