From a530a134ef024a3bf53d0c79c03adca095e00168 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 6 Mar 2016 06:10:55 -0500 Subject: fix int wraparound causing ridiculously high repair prices later in the game --- taipan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taipan.c b/taipan.c index 2ba23b9..a027750 100644 --- a/taipan.c +++ b/taipan.c @@ -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(); -- cgit v1.2.3