From 98f69670ab33ceeea5ef554a3e341c7c3bf3d588 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Wed, 1 Jun 2005 21:10:57 +0000 Subject: [PATCH] Siebenmeilentee + anschwimmen = ins Landesinnere vordringen, abgestellt. --- src/common/kernel/movement.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/kernel/movement.c b/src/common/kernel/movement.c index 3687d8d51..fa883e792 100644 --- a/src/common/kernel/movement.c +++ b/src/common/kernel/movement.c @@ -924,7 +924,7 @@ transport(unit * ut, unit * u) { order * ord; - if (LongHunger(u) || ut->region==T_OCEAN) { + if (LongHunger(u) || ut->region->terrain==T_OCEAN) { return false; } @@ -1170,7 +1170,7 @@ movement_speed(unit * u) if (fspecial(u->faction, FS_QUICK)) mp = BP_RIDING; /* Siebenmeilentee */ - if (get_effect(u, oldpotiontype[P_FAST]) >= u->number) { + if (u->region->terrain!=T_OCEAN && get_effect(u, oldpotiontype[P_FAST]) >= u->number) { mp *= 2; change_effect(u, oldpotiontype[P_FAST], -u->number); }