diff --git a/src/Makefile.include b/src/Makefile.include index bc795fc5e..1f38260b1 100644 --- a/src/Makefile.include +++ b/src/Makefile.include @@ -19,8 +19,7 @@ ARFLAGS = crs CTAGSFLAGS = --langmap=c:.c.h --c-types=-m CFLAGS = -I$(ERESSEA) -Wall -Wwrite-strings -Wstrict-prototypes \ -Wpointer-arith -Werror-implicit-function-declaration \ - -Wno-char-subscripts \ - -march=pentiumpro $(INCLUDES) + -Wno-char-subscripts $(INCLUDES) LDFLAGS = $(LIBS) LIBS = -L$(PUBLISH_DIR) diff --git a/src/common/kernel/eressea.c b/src/common/kernel/eressea.c index 99d25505b..daae8b373 100644 --- a/src/common/kernel/eressea.c +++ b/src/common/kernel/eressea.c @@ -1605,6 +1605,7 @@ createunitid(region * r1, faction * f, int number, race_t race, int id, const ch u->race = race; u->irace = race; u->hp = unit_max_hp (u) * number; + u->status = ST_FIGHT; set_number (u, number); if (id<=0 || id > MAX_UNIT_NR || ufindhash(id) || dfindhash(id) || forbiddenid(id))