From 02fec778b978969622168ef1a3fe555ea97c00ac Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Fri, 12 Oct 2007 19:53:18 +0000 Subject: [PATCH] http://eressea.upb.de/mantis/view.php?id=1300 "Mahlstrom funktioniert fehlerhaft" Fehlermeldung bei negativem Schaden nicht anzeigen. --- src/common/kernel/move.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/common/kernel/move.c b/src/common/kernel/move.c index e0650ef90..669006f3b 100644 --- a/src/common/kernel/move.c +++ b/src/common/kernel/move.c @@ -483,9 +483,7 @@ do_maelstrom(region *r, unit *u) damage = rng_int()%150 - eff_skill(u, SK_SAILING, r)*5; - if(damage <= 0) { - ADDMSG(&u->faction->msgs, msg_message("entermaelstrom", - "region ship damage sink", r, u->ship, damage, 1)); + if (damage <= 0) { return u->ship; }