From 7f5527584dabf16abe8f0bccaf3aebd570eeca69 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Thu, 7 Jan 2016 03:51:07 -0500 Subject: stop general cargo price dropping to 0 --- taipan.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/taipan.c b/taipan.c index 8722400..4ac8488 100644 --- a/taipan.c +++ b/taipan.c @@ -2253,6 +2253,8 @@ void good_prices(void) cputs("risen"); } else { price[i] /= 5; + /* somehow general cargo dropped to 0 once. stop it. */ + if(price[i] < 1) price[i] = 1; cputs("dropped"); } cputs(" to "); -- cgit v1.2.3