skill.id had wrong type

This commit is contained in:
Enno Rehling 2011-03-05 19:36:05 +01:00
parent 53aec0d438
commit 8c129f1576
1 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@
extern "C" { extern "C" {
#endif #endif
/* FIXME where is this defined?? */
extern signed char skill_bonus(struct unit * u, struct region * r); extern signed char skill_bonus(struct unit * u, struct region * r);
/* skillmod_data::flags -- wann gilt der modifier? */ /* 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*/ #define SMF_RIDING (1<<2) /* Bonus für berittene - an der rasse*/
typedef struct skill { typedef struct skill {
unsigned char id; skill_t id;
unsigned int level : 8; unsigned int level : 8;
unsigned int weeks : 8; unsigned int weeks : 8;
unsigned int old : 8; unsigned int old : 8;