Traul |
10-07-2014 07:18 PM |
Problem with some custom code (Paging Zaela)
So I tried to patch in Zaela's fix for others being able to see the Monk Epic graphic (found here) but I've come into a little snag. I made the exact changes that she said (but replaced ids and what not) as well as inserted this into client.h:
Code:
bool MonkEpicEquipped() const;
But when I compile I get
Error 142 error C2601: 'Client::MonkEpicEquipped' : local function definitions are illegal C:\EQ\Source\zone\client.cpp 1903 1 zone
And
821 IntelliSense: member function "Client::MonkEpicEquipped" may not be redeclared outside its class c:\eq\source\zone\client.cpp 1902 14 zone
Referring to:
Code:
bool Client::MonkEpicEquipped() const
{
if (GetClass() == MONK)
{
ItemInst* inst = GetInv().GetItem(12);
if (inst && inst->GetItem()->ID == 10652)
return true;
}
return false;
}
What did I do wrong exactly??
|