Jump to content

Error sash system (Source compile)


Recommended Posts

Hey Dev´s :)

I have a problem to compile my game with the sash system.

I edited my char.cpp and added this codes.

Spoiler
addPacket.awPart[CHR_EQUIPPART_ACCE] = GetPart(PART_ACCE);
 
and this:
Spoiler
 
pack.awPart[CHR_EQUIPPART_ACCE] = GetPart(PART_ACCE);
 
and this:
Spoiler
 
SetPart(PART_ACCE, t->parts[PART_ACCE]);
 
and this:
Spoiler
 
SetPart(PART_ACCE, GetOriginalPart(PART_ACCE));
 
and this:
Spoiler
 
WORD CHARACTER::GetOriginalPart(BYTE bPartPos) const
{
    switch (bPartPos)
    {
        case PART_MAIN:
            if (!IsPC())
                return GetPart(PART_MAIN);
            else
                return m_pointsInstant.bBasePart;
        case PART_HAIR:
            return GetPart(PART_HAIR);
        case PART_ACCE:
            return GetPart(PART_ACCE);
        default:
            return 0;
    }
}
 

But i get everytime the error that PART_ACCE are not declared.

I hope anyone can help me :)

Best regards

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.