diff options
author | B. Watson <yalhcru@gmail.com> | 2016-03-06 06:10:55 -0500 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2016-03-06 06:10:55 -0500 |
commit | a530a134ef024a3bf53d0c79c03adca095e00168 (patch) | |
tree | ae3327448877ae96b36c262bb9ed0e4dcd4aafca /taipan.c | |
parent | f4fa06b8f4cff043c53958bead2410ab0a417403 (diff) | |
download | taipan-a530a134ef024a3bf53d0c79c03adca095e00168.tar.gz |
fix int wraparound causing ridiculously high repair prices later in the game
Diffstat (limited to 'taipan.c')
-rw-r--r-- | taipan.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1817,7 +1817,7 @@ void mchenry(void) { print_msg(M_mchenry_has_arrived); if(yngetc('y') == 'y') { - static int percent, time; + static unsigned int percent, time; static unsigned long br, repair_price, amount; percent = (damage * 100L / capacity); time = get_time(); |