Here is the error message I'm getting.
c:\download\mud\startermudv3\rom24\src\bounty.c(225) : error C2039: 'bank_gold' : is not a member of 'pc_data'
c:\download\mud\startermudv3\rom24\src\merc.h(1521) : see declaration of 'pc_data'
This is the line in bounty.c
extract_obj(obj);
do_say(vch,"Very well, here is your payment.");
ch->pcdata->bank_gold += bounty->amount;
Do I need to edit something in the merc.h file to allow this payment to take place there are 21 total errors all refering to the declaration of 'pc_data' in merc.h. the entire bounty.c file is located at link below.
Assign ACT_BOUNTY to a free act flag. is the only random entry that was made to my merc.h
#define ACT_IS_HEALER (aa)
#define ACT_GAIN (bb)
#define ACT_UPDATE_ALWAYS (cc)
#define ACT_IS_CHANGER (dd)
#define ACT_BOUNTY (ee)
Any ideas I tried for hours now and can't quit figure out what i've done wrong. Here is the complete snippet info if needed. http://home.comcast.net/~cyberaww/full-bounty.txt
c:\download\mud\startermudv3\rom24\src\bounty.c(225) : error C2039: 'bank_gold' : is not a member of 'pc_data'
c:\download\mud\startermudv3\rom24\src\merc.h(1521) : see declaration of 'pc_data'
This is the line in bounty.c
extract_obj(obj);
do_say(vch,"Very well, here is your payment.");
ch->pcdata->bank_gold += bounty->amount;
Do I need to edit something in the merc.h file to allow this payment to take place there are 21 total errors all refering to the declaration of 'pc_data' in merc.h. the entire bounty.c file is located at link below.
Assign ACT_BOUNTY to a free act flag. is the only random entry that was made to my merc.h
#define ACT_IS_HEALER (aa)
#define ACT_GAIN (bb)
#define ACT_UPDATE_ALWAYS (cc)
#define ACT_IS_CHANGER (dd)
#define ACT_BOUNTY (ee)
Any ideas I tried for hours now and can't quit figure out what i've done wrong. Here is the complete snippet info if needed. http://home.comcast.net/~cyberaww/full-bounty.txt