From e559f123d45c3e707ee6b04d30def06d0ee0318f Mon Sep 17 00:00:00 2001 From: Katja Zedel Date: Sun, 28 Apr 2002 08:40:21 +0000 Subject: [PATCH] =?UTF-8?q?vergiss=20das=20static=20-=20es=20ist=20b=C3=B6?= =?UTF-8?q?se?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/kernel/curse.c | 3 ++- src/common/kernel/curse.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/common/kernel/curse.c b/src/common/kernel/curse.c index 198c5ff44..a123ce0f8 100644 --- a/src/common/kernel/curse.c +++ b/src/common/kernel/curse.c @@ -1345,10 +1345,11 @@ cinfo_riot(void * obj, typ_t typ, curse *c, int self) /* cursedata */ /* ------------------------------------------------------------- */ /* typedef struct cursedata { + * int id; (altlast für kompatibiliät) + * char *name; * int typ; * int givemenacting; * int mergeflags; - * char *name; * char *info; * void (*display)(void*,typ_t, curse*); *} cursedata; diff --git a/src/common/kernel/curse.h b/src/common/kernel/curse.h index 0c97c87c5..0a5e967a8 100644 --- a/src/common/kernel/curse.h +++ b/src/common/kernel/curse.h @@ -190,7 +190,7 @@ typedef struct curse { struct curse *nexthash; int no; /* 'Einheitennummer' dieses Curse */ curse_t cspellid; /* Id des Cursezaubers */ - const struct curse_type * type; /* Zeiger auf ein curse_type-struct */ + struct curse_type * type; /* Zeiger auf ein curse_type-struct */ int flag; /* generelle Flags wie zb CURSE_ISNEW oder CURSE_NOAGE */ int duration; /* Dauer der Verzauberung. Wird jede Runde vermindert */ int vigour; /* Stärke der Verzauberung, Widerstand gegen Antimagie */