diff --git a/src/Makefile.include b/src/Makefile.include index 984c4bcb7..717464c7e 100644 --- a/src/Makefile.include +++ b/src/Makefile.include @@ -96,7 +96,7 @@ endif # ## Tags # -tags: +tags: depend @echo "Creating tags in `pwd`/tags"; $(CTAGS) $(CTAGSFLAGS) --recurse=yes -f $(ERESSEA)/tags $(ERESSEA) diff --git a/src/common/kernel/battle.c b/src/common/kernel/battle.c index e2b063982..07fb83fbf 100644 --- a/src/common/kernel/battle.c +++ b/src/common/kernel/battle.c @@ -1,6 +1,6 @@ /* vi: set ts=2: * - * $Id: battle.c,v 1.4 2001/02/03 13:45:30 enno Exp $ + * $Id: battle.c,v 1.5 2001/02/04 10:04:36 corwin Exp $ * Eressea PB(E)M host Copyright (C) 1998-2000 * Christian Schlittchen (corwin@amber.kn-bremen.de) * Katja Zedel (katze@felidae.kn-bremen.de) @@ -215,7 +215,7 @@ armedmen(const unit * u) { item * itm; int n = 0; - if (!urace(u)->flags & RCF_NOWEAPONS) { + if (!(urace(u)->flags & RCF_NOWEAPONS)) { if (urace(u)->ec_flags & CANGUARD) { /* kann ohne waffen bewachen: fuer untote und drachen */ n = u->number; diff --git a/src/common/kernel/eressea.h b/src/common/kernel/eressea.h index 141e8cee9..14a21e538 100644 --- a/src/common/kernel/eressea.h +++ b/src/common/kernel/eressea.h @@ -1,6 +1,6 @@ /* vi: set ts=2: * - * $Id: eressea.h,v 1.8 2001/02/03 13:45:32 enno Exp $ + * $Id: eressea.h,v 1.9 2001/02/04 10:04:36 corwin Exp $ * Eressea PB(E)M host Copyright (C) 1998-2000 * Christian Schlittchen (corwin@amber.kn-bremen.de) * Katja Zedel (katze@felidae.kn-bremen.de) @@ -62,6 +62,9 @@ struct herb_type; #include #include #include + +#define AT_PERSISTANT + /* eressea-defined attribute-type flags */ #define ATF_CURSE ATF_USER_DEFINED