(sctstr, sect_ca): Make sct_mines signed for same reasons as
sct_item[] (see sect.h rev. 1.10).
This commit is contained in:
parent
4c4d5b7b94
commit
059353e957
2 changed files with 2 additions and 2 deletions
|
@ -75,7 +75,7 @@ struct sctstr {
|
||||||
short sct_item[I_MAX+1]; /* amount of items stored here */
|
short sct_item[I_MAX+1]; /* amount of items stored here */
|
||||||
short sct_del[I_MAX+1]; /* delivieries */
|
short sct_del[I_MAX+1]; /* delivieries */
|
||||||
short sct_dist[I_MAX+1]; /* distribution thresholds */
|
short sct_dist[I_MAX+1]; /* distribution thresholds */
|
||||||
u_short sct_mines; /* number of mines */
|
short sct_mines; /* number of mines */
|
||||||
u_short sct_pstage; /* plague stage */
|
u_short sct_pstage; /* plague stage */
|
||||||
u_short sct_ptime; /* how many etus remain in this stage */
|
u_short sct_ptime; /* how many etus remain in this stage */
|
||||||
u_char sct_che; /* number of guerrillas */
|
u_char sct_che; /* number of guerrillas */
|
||||||
|
|
|
@ -101,7 +101,7 @@ struct castr sect_ca[] = {
|
||||||
NSC_IVEC(fldoff(sctstr, sct_item), ""),
|
NSC_IVEC(fldoff(sctstr, sct_item), ""),
|
||||||
NSC_IVEC(fldoff(sctstr, sct_dist), "_dist"),
|
NSC_IVEC(fldoff(sctstr, sct_dist), "_dist"),
|
||||||
NSC_IVEC(fldoff(sctstr, sct_del), "_del"),
|
NSC_IVEC(fldoff(sctstr, sct_del), "_del"),
|
||||||
{NSC_USHORT, NSC_DEITY, 0, fldoff(sctstr, sct_mines), "mines"},
|
{NSC_SHORT, NSC_DEITY, 0, fldoff(sctstr, sct_mines), "mines"},
|
||||||
{NSC_USHORT, NSC_DEITY, 0, fldoff(sctstr, sct_pstage), "pstage"},
|
{NSC_USHORT, NSC_DEITY, 0, fldoff(sctstr, sct_pstage), "pstage"},
|
||||||
{NSC_USHORT, NSC_DEITY, 0, fldoff(sctstr, sct_ptime), "ptime"},
|
{NSC_USHORT, NSC_DEITY, 0, fldoff(sctstr, sct_ptime), "ptime"},
|
||||||
{NSC_USHORT, NSC_DEITY, 0, fldoff(sctstr, sct_che), "che"},
|
{NSC_USHORT, NSC_DEITY, 0, fldoff(sctstr, sct_che), "che"},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue