From 88cff56a1a488ab6716cabfb41d9930b8ed15890 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 23 Apr 2005 10:13:53 +0000 Subject: [PATCH] http://eressea.upb.de/mantis/view.php?id=495 Schiff treibt auf Land ab --- src/common/kernel/movement.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/kernel/movement.c b/src/common/kernel/movement.c index fa9983882..3625e964e 100644 --- a/src/common/kernel/movement.c +++ b/src/common/kernel/movement.c @@ -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); 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)) { region * rnext = NULL; boolean storm = true;