15 Dec, 2009, Elervan wrote in the 1st comment:
Votes: 0
Hello,
So I'm converting a ROM style mud or rather areas and features into tbaMUD 3.60. I'm currently putting in all the classes and races I'll be using and I'm running into a issue. I keep getting this error on 1 line and can't figure out why.

class.c:595: error: called object is not a function


And that line is:

if (OBJ_FLAGGED(obj, ITEM_ANTI_PALADIN) && IS_PALADIN(ch))
return TRUE;

@@if (OBJ_FLAGGED(obj, ITEM_ANTI_BLACKKNIGHT) && IS_BLACKKNIGHT(ch))
return TRUE;

if (OBJ_FLAGGED(obj, ITEM_ANTI_RANGER) && IS_RANGER(ch))
return TRUE;


It's basically a copy/repeat with each class in whatever code files they are used in, and it's correct in every file, but this one line is not being liked. Any thoughts?


UPDATE: Issue was fixed I didn't declare IS_BLACKKNIGHT(ch) correctly.

– Elervan
15 Dec, 2009, ghasatta wrote in the 2nd comment:
Votes: 0
(removed)
15 Dec, 2009, Igabod wrote in the 3rd comment:
Votes: 0
[post removed cause I replied in the wrong thread]
0.0/3