From 603e0cd489b417c494e72f1acbb2c67548b03147 Mon Sep 17 00:00:00 2001 From: Christian Schlittchen Date: Sun, 13 Jan 2002 08:18:03 +0000 Subject: [PATCH] - Neulinge starten mit O_COMPRESS --- src/common/kernel/faction.c | 2 +- src/eressea/korrektur.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/common/kernel/faction.c b/src/common/kernel/faction.c index 5ce449c91..884a8e5d7 100644 --- a/src/common/kernel/faction.c +++ b/src/common/kernel/faction.c @@ -102,7 +102,7 @@ addplayer(region *r, char *email, const struct race * frace, locale *loc) f->locale = loc; set_ursprung(f, 0, r->x, r->y); - f->options = Pow(O_REPORT) | Pow(O_ZUGVORLAGE) | Pow(O_SILBERPOOL) | Pow(O_COMPUTER); + f->options = Pow(O_REPORT) | Pow(O_ZUGVORLAGE) | Pow(O_SILBERPOOL) | Pow(O_COMPUTER) | Pow(O_COMPRESS); f->no = unused_faction_id(); register_faction_id(f->no); diff --git a/src/eressea/korrektur.c b/src/eressea/korrektur.c index eaebf0968..645484ae4 100644 --- a/src/eressea/korrektur.c +++ b/src/eressea/korrektur.c @@ -2737,6 +2737,11 @@ set_zip(void) f->options = f->options | (1 << O_COMPRESS); } } + + f = findfaction(0); + f->options = f->options & !(1 << O_COMPRESS); + f->options = f->options | (1 << O_BZIP2); + return 0; }