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:
parent
5ed02791f5
commit
5f46ced826
24 changed files with 73 additions and 73 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue