CID 22499 Missing break in switch

github issue #357
nice catch!
This commit is contained in:
Enno Rehling 2015-11-05 11:18:39 +01:00
parent 4c861aa40d
commit 530f729621
1 changed files with 1 additions and 0 deletions

View File

@ -176,6 +176,7 @@ static void chaos(region * r)
set_money(u, u->number * (rng_int() % mfac)); set_money(u, u->number * (rng_int() % mfac));
fset(u, UFL_ISNEW | UFL_MOVED); fset(u, UFL_ISNEW | UFL_MOVED);
} }
break;
case 2: /* Terrainveränderung */ case 2: /* Terrainveränderung */
if (!fval(r->terrain, FORBIDDEN_REGION)) { if (!fval(r->terrain, FORBIDDEN_REGION)) {
if (!fval(r->terrain, SEA_REGION)) { if (!fval(r->terrain, SEA_REGION)) {