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:
Markus Armbruster 2013-01-13 16:13:15 +01:00
parent 5d7f011900
commit 74b8b9932d
8 changed files with 13 additions and 13 deletions

View file

@ -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 */