Traul
10-07-2014, 07:18 PM
So I tried to patch in Zaela's fix for others being able to see the Monk Epic graphic (found here (http://cdn.project1999.com/forums/showthread.php?t=60080&page=8)) 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:
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:
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??
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:
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??