- Posts: 172
- Thank you received: 14
Please Log in or Create an account to join the conversation.
It seems that your case 'r' is full of stuff it doesn't need.
Temporarily comment that out and try this case.
Please Log in or Create an account to join the conversation.
Papaya Pete wrote:
It seems that your case 'r' is full of stuff it doesn't need.
Temporarily comment that out and try this case.
Hmmm Ok I tried that. And this is the compiling error I'm getting:
Code:dg_variables.c: In function ‘find_replacement’: dg_variables.c:969:22: error: expected ‘)’ before ‘;’ token dg_variables.c:969:22: error: too few arguments to function ‘sprinttype’
And... as for lines 972 and 978, they are...
Code:GET_RACE(ch) = ra; sprinttype(GET_RACE(ch), pc_race_types, str, slen);
Please Log in or Create an account to join the conversation.
Vatiken wrote:
$100 the error is the GET_RACE(ch) define.
ha well after I saw those exact lines, I was like that is the only option left.
There is no reason line 972 and 978 should be putting out errors. I would change them back to GET_RACE(c). Also, I would check your #define GET_RACE in utils.h. Will you post that for me? I'm also wondering if it's your compiler being super picky.
/* Race of ch. */
#define GET_RACE(ch) ((ch)->player.race);
Please Log in or Create an account to join the conversation.
tbaMUD © 2024