forked from github/server
fix
This commit is contained in:
parent
6772d1892e
commit
9d1f1d77fe
|
@ -1165,7 +1165,7 @@ settg(region *r)
|
||||||
if (ltype!=tradegood) r_setdemand(r, ltype, 1 + rand() % 5);
|
if (ltype!=tradegood) r_setdemand(r, ltype, 1 + rand() % 5);
|
||||||
}
|
}
|
||||||
r_setdemand(r, tradegood, 0);
|
r_setdemand(r, tradegood, 0);
|
||||||
if (g>0 && chance(0.2)) {
|
if (g>0 && (rand()%10)<2) {
|
||||||
int t = rand() % g;
|
int t = rand() % g;
|
||||||
|
|
||||||
for (tradegood = luxurytypes;t;--t) {
|
for (tradegood = luxurytypes;t;--t) {
|
||||||
|
|
Loading…
Reference in New Issue