Stufe bei ZERSTÖRE geht nich
Issue: 575
This commit is contained in:
Enno Rehling 2005-06-26 13:24:19 +00:00
parent 2cebb01c99
commit 4239fdfc9b
1 changed files with 3 additions and 3 deletions

View File

@ -319,11 +319,11 @@ destroy_road(unit *u, int nmax, struct order * ord)
cmistake(u, ord, 71, MSG_PRODUCE);
} else {
short road = rroad(r, d);
road = min(n, road);
if (road!=0) {
n = min(n, road);
if (n!=0) {
region * r2 = rconnect(r,d);
int willdo = eff_skill(u, SK_ROAD_BUILDING, r)*u->number;
willdo = min(willdo, road);
willdo = min(willdo, n);
if (willdo==0) {
/* TODO: error message */
}