From b4215da428e972322f1b2e48d129911603d6525b Mon Sep 17 00:00:00 2001 From: Christian Schlittchen Date: Sun, 13 Jan 2002 08:14:17 +0000 Subject: [PATCH] =?UTF-8?q?-=20ZIP=20und=20BZIP2=20k=C3=B6nnen=20nur=20noc?= =?UTF-8?q?h=20um-,=20nicht=20mehr=20ausgeschaltet=20werden.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/gamecode/laws.c | 6 +++++- src/res/de/messages.xml | 10 ++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/src/common/gamecode/laws.c b/src/common/gamecode/laws.c index 0044942f0..698a86031 100644 --- a/src/common/gamecode/laws.c +++ b/src/common/gamecode/laws.c @@ -1994,7 +1994,11 @@ set_passw(void) } else { i = (int) pow(2, o); if (getparam(u->faction->locale) == P_NOT) { - u->faction->options = u->faction->options & ~i; + if(i == O_COMPRESS || i == O_BZIP2) { + cmistake(u, S->s, 305, MSG_EVENT); + } else { + u->faction->options = u->faction->options & ~i; + } } else { u->faction->options = u->faction->options | i; if(i == O_COMPRESS) u->faction->options &= ~O_BZIP2; diff --git a/src/res/de/messages.xml b/src/res/de/messages.xml index 1d841bab1..64b74db1a 100644 --- a/src/res/de/messages.xml +++ b/src/res/de/messages.xml @@ -4406,6 +4406,16 @@ "$unit($unit) in $region($region): '$command' - Einheiten einer Partei, die noch immun gegen Angriffe ist, dürfen nicht bewachen." "$unit($unit) in $region($region): '$command' - units of a faction that can't be attacked may not guard." + + + + + + + + "$unit($unit) in $region($region): '$command' - Die Optionen ZIP und BZIP2 können nur um, nicht ausgeschaltet werden." + "$unit($unit) in $region($region): '$command' - options ZIP and BZIP2 can only be switched, not turned off." +