New news selector duration
Backed by new struct nwsstr member nws_duration. Time between first and last occurence of the news recorded in this item, in seconds.
This commit is contained in:
parent
39114987a9
commit
b719f39c0f
3 changed files with 9 additions and 4 deletions
|
@ -55,6 +55,7 @@ struct nwsstr {
|
|||
unsigned char nws_vrb; /* action (verb) */
|
||||
natid nws_vno; /* "victim" country # */
|
||||
signed char nws_ntm; /* number of times */
|
||||
short nws_duration; /* last time at nws_when + nws_duration */
|
||||
time_t nws_when; /* time of action */
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue