Use int instead of long for military reserves
Code dealing with reserves mixes int and long pretty haphazardly. Harmless, because practical reserves fit easily on any machine capable of running the server. Clean up anyway.
This commit is contained in:
parent
5d7f011900
commit
74b8b9932d
8 changed files with 13 additions and 13 deletions
|
@ -105,7 +105,7 @@ struct natstr {
|
|||
int nat_timeused; /* number of seconds used today */
|
||||
short nat_btu; /* bureaucratic time units */
|
||||
short nat_access; /* The tick when BTUs were last updated */
|
||||
long nat_reserve; /* military reserves */
|
||||
int nat_reserve; /* military reserves */
|
||||
long nat_money; /* moola */
|
||||
time_t nat_last_login; /* time of last login, 0 menas never */
|
||||
time_t nat_last_logout; /* time of last logout, 0 means never */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue