Use int instead of long for money

Code dealing with money mixes int and long pretty haphazardly.
Harmless, because practical amounts of money fit into int on any
machine capable of running the server.  Clean up anyway.
This commit is contained in:
Markus Armbruster 2013-01-13 17:59:29 +01:00
parent 5ed02791f5
commit 5f46ced826
24 changed files with 73 additions and 73 deletions

View file

@ -50,7 +50,7 @@ struct trdstr {
/* end of part matching struct empobj */
short trd_type;
int trd_unitid;
long trd_price;
int trd_price;
int trd_maxbidder;
time_t trd_markettime;
coord trd_x; /* destination for teleporting trade */