forked from github/server
bugfix eventhandler. bei attributen immer auf next und nexthash achten
This commit is contained in:
parent
2b6011b2d0
commit
82c354ac01
|
@ -71,7 +71,7 @@ typedef struct race_type {
|
||||||
race_t familiars[MAXMAGIETYP];
|
race_t familiars[MAXMAGIETYP];
|
||||||
const char *(*generate_name) (const struct unit *);
|
const char *(*generate_name) (const struct unit *);
|
||||||
void (*age_function)(struct unit *u);
|
void (*age_function)(struct unit *u);
|
||||||
boolean (*move_allowed)(struct region *, struct region *);
|
boolean (*move_allowed)(const struct region *, const struct region *);
|
||||||
struct attrib * attribs;
|
struct attrib * attribs;
|
||||||
} racetype;
|
} racetype;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/* vi: set ts=2:
|
/* vi: set ts=2:
|
||||||
*
|
*
|
||||||
* $Id: event.c,v 1.3 2001/02/03 13:45:33 enno Exp $
|
* $Id: event.c,v 1.4 2001/02/12 23:29:35 enno Exp $
|
||||||
* Eressea PB(E)M host Copyright (C) 1998-2000
|
* Eressea PB(E)M host Copyright (C) 1998-2000
|
||||||
* Christian Schlittchen (corwin@amber.kn-bremen.de)
|
* Christian Schlittchen (corwin@amber.kn-bremen.de)
|
||||||
* Katja Zedel (katze@felidae.kn-bremen.de)
|
* Katja Zedel (katze@felidae.kn-bremen.de)
|
||||||
|
@ -155,7 +155,7 @@ add_trigger(attrib ** ap, const char * event, trigger * t)
|
||||||
if (!strcmp(td->event, event)) {
|
if (!strcmp(td->event, event)) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
a = a->next;
|
a = a->nexttype;
|
||||||
}
|
}
|
||||||
if (!a) {
|
if (!a) {
|
||||||
a = a_add(ap, a_new(&at_eventhandler));
|
a = a_add(ap, a_new(&at_eventhandler));
|
||||||
|
|
|
@ -911,3 +911,6 @@ o Leuchtt
|
||||||
+ Fliehende Einheiten nehmen kein Silber mehr mit (Katja, 28.12.2000)
|
+ Fliehende Einheiten nehmen kein Silber mehr mit (Katja, 28.12.2000)
|
||||||
|
|
||||||
+ Magiebegabte Vertraute haben keine Zauber mehr
|
+ Magiebegabte Vertraute haben keine Zauber mehr
|
||||||
|
|
||||||
|
- lmsreward funktioiniert nicht (curse wird nicht gesetzt)
|
||||||
|
|
||||||
|
|
|
@ -4,11 +4,11 @@
|
||||||
|
|
||||||
CONVERT_TRIGGERS = 1
|
CONVERT_TRIGGERS = 1
|
||||||
|
|
||||||
CFLAGS += -DUSE_GM_COMMANDS -DTEST_GM_COMMANDS
|
#CFLAGS += -DUSE_GM_COMMANDS -DTEST_GM_COMMANDS
|
||||||
|
|
||||||
LD=gcc
|
LD=gcc
|
||||||
AR=ar
|
AR=ar
|
||||||
CC=gcc
|
CC=@colorgcc
|
||||||
INSTALL=install
|
INSTALL=install
|
||||||
MSG_COMPILE = "[1m[32m---> Compiling $@ [0m"
|
MSG_COMPILE = "[1m[32m---> Compiling $@ [0m"
|
||||||
MSG_SUBDIR = "[1m[37m--> Making $@ in $$subdir [0m"
|
MSG_SUBDIR = "[1m[37m--> Making $@ in $$subdir [0m"
|
||||||
|
|
Loading…
Reference in New Issue