I'm trying to add so when you create a character, the race selection is based on what align you are. This shouldnt be too hard, but somehow it's not working for me. I will copy the error message and a bit of code here, if you know what my problem is, please let me know.
Error message:
In function 'nanny':
struture has no member named 'good'
struture has no member named 'neutral'
struture has no member named 'evil'
And this is what I have added in Merc.h under pc_race_typ
struct pc_race_type /* additional data for pc races */
{
char * name;
char who_name[6];
sh_int points;
sh_int class_mult[MAX_CLASS];
char * skills[5];
sh_int stats[MAX_STATS];
sh_int max_stats[MAX_STATS];
sh_int size;
int good;
int neutral;
int evil;
};
I also added a TRUE or FALSE statements on every pc race in the race_table in const.c aswell.
What am I missing here or is this too little information?
Melker.
|