aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-01-07 03:51:07 -0500
committerB. Watson <yalhcru@gmail.com>2016-01-07 03:51:07 -0500
commit7f5527584dabf16abe8f0bccaf3aebd570eeca69 (patch)
tree63dde114142f715c55002e7973299689f33c12f4
parent2d2512ea768b42b539ba75764aa6a3a4ed1669cc (diff)
downloadtaipan-7f5527584dabf16abe8f0bccaf3aebd570eeca69.tar.gz
stop general cargo price dropping to 0
-rw-r--r--taipan.c2
1 files changed, 2 insertions, 0 deletions
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 ");