diff options
author | B. Watson <yalhcru@gmail.com> | 2021-04-11 03:01:29 -0400 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2021-04-11 03:01:29 -0400 |
commit | a492b2b8812b7083010695327d90c5aa0a0499fb (patch) | |
tree | 6af7f6db1b51e8d62cfecc0d14b3579a0a4b206a | |
parent | 4aaf0add1cd84215a5e96ca80a6ee85ff4f4e2e7 (diff) | |
download | taipan-a492b2b8812b7083010695327d90c5aa0a0499fb.tar.gz |
Save 10 bytes
-rw-r--r-- | taipan.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1664,7 +1664,7 @@ void cash_or_guns(void) { } void set_prices(void) { - char i; + unsigned char i; for(i = 0; i < 4; ++i) price[i] = (base_price[i][port] * rand1to3() * base_price[i][0]) / 2; } @@ -1678,8 +1678,8 @@ unsigned int warehouse_in_use() { void port_stats(void) { - unsigned char i; - int in_use, status = get_ship_status(); + unsigned char i, status = get_ship_status(); + int in_use; #ifdef PORT_STAT_TIMER int startframe, startline, endframe, endline; #endif |