From d6397d6edb69324a37bcc030d54bf4a14a8a90f9 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Mon, 22 May 2006 20:17:55 +0000 Subject: [PATCH] =?UTF-8?q?http://eressea.upb.de/mantis/view.php=3Fid=3D90?= =?UTF-8?q?0=20Waehrend=20der=20Newbie=C3=9FImmunitaet=20kann=20nicht=20be?= =?UTF-8?q?wacht=20werden.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/gamecode/laws.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/gamecode/laws.c b/src/common/gamecode/laws.c index 6bd525179..7140ac861 100644 --- a/src/common/gamecode/laws.c +++ b/src/common/gamecode/laws.c @@ -2758,6 +2758,8 @@ guard_on_cmd(unit * u, struct order * ord) guard(u, GUARD_ALL); } else if (!armedmen(u)) { ADDMSG(&u->faction->msgs, msg_feedback(u, ord, "unit_unarmed", "")); + } else if (u->faction->age < NewbieImmunity()) { + cmistake(u, ord, 304, MSG_EVENT); } else { guard(u, GUARD_ALL); }