- AT_PERS an

- armedmen Klammerfehler
This commit is contained in:
Christian Schlittchen 2001-02-04 10:04:36 +00:00
parent a39bfddd8d
commit 97b14a079c
3 changed files with 7 additions and 4 deletions

View File

@ -96,7 +96,7 @@ endif
#
## Tags
#
tags:
tags: depend
@echo "Creating tags in `pwd`/tags";
$(CTAGS) $(CTAGSFLAGS) --recurse=yes -f $(ERESSEA)/tags $(ERESSEA)

View File

@ -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;

View File

@ -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 <vmap.h>
#include <vset.h>
#include <attrib.h>
#define AT_PERSISTANT
/* eressea-defined attribute-type flags */
#define ATF_CURSE ATF_USER_DEFINED