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_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.
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.
And that line is:
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