From abe8bc00a9a1973ca9d168f6a9776fb2e7674953 Mon Sep 17 00:00:00 2001 From: Katja Zedel Date: Sun, 27 Jan 2002 10:52:06 +0000 Subject: [PATCH] =?UTF-8?q?fix=20disable=20von=20befehle:=20global.disable?= =?UTF-8?q?=20muss=20auf=201=20und=20nicht=200=20gesetzt=20werden,=20sonst?= =?UTF-8?q?=20triggert=20das=20if(global.disable)=20nat=C3=BCrlich=20nicht?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/kernel/eressea.c | 2 +- src/res/races.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/kernel/eressea.c b/src/common/kernel/eressea.c index fdd85a985..3486baa1f 100644 --- a/src/common/kernel/eressea.c +++ b/src/common/kernel/eressea.c @@ -2120,7 +2120,7 @@ parse_tagbegin(struct xml_stack *stack) int k; for (k=0;k!=MAXKEYWORDS;++k) { if (strncmp(keywords[k], name, strlen(name))==0) { - global.disabled[k]=0; + global.disabled[k]=1; break; } } diff --git a/src/res/races.xml b/src/res/races.xml index 77595c5d0..2e5677837 100644 --- a/src/res/races.xml +++ b/src/res/races.xml @@ -838,7 +838,7 @@ - +