I've tried to do the weapon-costume by myself. Yeah, it's working fine, but now I have problems with Detaching my Main weapon when I unequip it.
What could I have forgotten? Or what do I have to change
edit:
Okay, the bug has been fixed. It was due to the following code:
Code:
WORD CHARACTER::GetOriginalPart(BYTE bPartPos) const
{
switch (bPartPos)
{
case PART_MAIN:
if (!IsPC()) // PC°¡ ¾Æ´Ñ °æ¿ì ÇöÀç ÆÄÆ®¸¦ ±×´ë·Î ¸®ÅÏ
return GetPart(PART_MAIN);
else
return m_pointsInstant.bBasePart;
case PART_HAIR:
return GetPart(PART_HAIR);
//case PART_WEAPON:
// return GetPart(PART_WEAPON);
default:
return 0;
}
}






