From 93b5f5502a28a4c1599e4ecf8b30b82395d2f182 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Tue, 25 Jul 2006 09:30:50 +0000 Subject: [PATCH] http://eressea.upb.de/mantis/view.php?id=920 "Siebenmeilentee hat nicht gewirkt" Siebenmeilentee wirkt ab sofort nur auf Wesen, die nicht schwimmen koennen. Issue: 920 --- 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 a1eaf5b18..06a6fba99 100644 --- a/src/common/kernel/movement.c +++ b/src/common/kernel/movement.c @@ -1289,7 +1289,7 @@ movement_speed(unit * u) #endif /* KARMA_MODULE */ /* Siebenmeilentee */ - if (!fval(u->region->terrain, SEA_REGION) && get_effect(u, oldpotiontype[P_FAST]) >= u->number) { + if ((u->race->flags & RCF_SWIM) == 0 && get_effect(u, oldpotiontype[P_FAST]) >= u->number) { mp *= 2; change_effect(u, oldpotiontype[P_FAST], -u->number); }