Schiff treibt auf Land ab
This commit is contained in:
Enno Rehling 2005-04-23 10:13:53 +00:00
parent 3bf96bdb12
commit 88cff56a1a
1 changed files with 1 additions and 1 deletions

View File

@ -1513,7 +1513,7 @@ sail(unit * u, order * ord, boolean move_on_land, region_list **routep)
int stormchance = storms[month(0)] * 5 / shipspeed(sh, u); int stormchance = storms[month(0)] * 5 / shipspeed(sh, u);
if (check_leuchtturm(next_point, NULL)) stormchance /= 3; if (check_leuchtturm(next_point, NULL)) stormchance /= 3;
if (rand()%10000 < stormchance && next_point->terrain == T_OCEAN) { if (rand()%10000 < stormchance && current_point->terrain == T_OCEAN) {
if (!is_cursed(sh->attribs, C_SHIP_NODRIFT, 0)) { if (!is_cursed(sh->attribs, C_SHIP_NODRIFT, 0)) {
region * rnext = NULL; region * rnext = NULL;
boolean storm = true; boolean storm = true;