From 96d5544b1ff8b8b6380dce34f20b956823b694f7 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Mon, 20 Oct 2014 17:13:32 +0200 Subject: [PATCH] Bug 2032: rename FIGHT back to COMBAT --- res/core/de/strings.xml | 2 +- res/core/en/strings.xml | 3 --- src/kernel/config.c | 2 +- src/keyword.c | 2 +- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/res/core/de/strings.xml b/res/core/de/strings.xml index cd408f9ea..863b26e35 100644 --- a/res/core/de/strings.xml +++ b/res/core/de/strings.xml @@ -2173,7 +2173,7 @@ HELFEN - + KÄMPFEN diff --git a/res/core/en/strings.xml b/res/core/en/strings.xml index a85bb5a4f..98bfaf310 100644 --- a/res/core/en/strings.xml +++ b/res/core/en/strings.xml @@ -1451,9 +1451,6 @@ HELP - - FIGHT - COMBATSPELL diff --git a/src/kernel/config.c b/src/kernel/config.c index 67e145258..17484449d 100644 --- a/src/kernel/config.c +++ b/src/kernel/config.c @@ -673,7 +673,7 @@ static void init_gms(void) faction *f; for (f = factions; f; f = f->next) { - const attrib *a = a_findc(f->attribs, &at_gm); + attrib *a = a_find(f->attribs, &at_gm); if (a != NULL) fset(f, FFL_GM); diff --git a/src/keyword.c b/src/keyword.c index 23f55a609..25ace155b 100644 --- a/src/keyword.c +++ b/src/keyword.c @@ -103,7 +103,7 @@ const char *keywords[MAXKEYWORDS] = { "research", "give", "help", - "fight", + "combat", "ready", "buy", "contact",