From 8c129f157657ecfaa77568adb6d4f30df11b1ee3 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 5 Mar 2011 19:36:05 +0100 Subject: [PATCH] skill.id had wrong type --- src/kernel/skill.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/kernel/skill.h b/src/kernel/skill.h index 1ed5c6ad6..3f8ec53ce 100644 --- a/src/kernel/skill.h +++ b/src/kernel/skill.h @@ -16,6 +16,7 @@ extern "C" { #endif +/* FIXME where is this defined?? */ extern signed char skill_bonus(struct unit * u, struct region * r); /* skillmod_data::flags -- wann gilt der modifier? */ @@ -24,7 +25,7 @@ extern signed char skill_bonus(struct unit * u, struct region * r); #define SMF_RIDING (1<<2) /* Bonus für berittene - an der rasse*/ typedef struct skill { - unsigned char id; + skill_t id; unsigned int level : 8; unsigned int weeks : 8; unsigned int old : 8;