From 9d1f1d77fe96dec1a5f778dfd18c98f24be154d4 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 26 Nov 2005 01:09:39 +0000 Subject: [PATCH] fix --- src/mapper/map_modify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mapper/map_modify.c b/src/mapper/map_modify.c index d87737140..22956b473 100644 --- a/src/mapper/map_modify.c +++ b/src/mapper/map_modify.c @@ -1165,7 +1165,7 @@ settg(region *r) if (ltype!=tradegood) r_setdemand(r, ltype, 1 + rand() % 5); } r_setdemand(r, tradegood, 0); - if (g>0 && chance(0.2)) { + if (g>0 && (rand()%10)<2) { int t = rand() % g; for (tradegood = luxurytypes;t;--t) {