forked from github/server
skill.id had wrong type
This commit is contained in:
parent
53aec0d438
commit
8c129f1576
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue