- Joined
- Dec 16, 2012
- Messages
- 1,125
- Reaction score
- 93
Find "if ( !RANPARAM::bSET_DISPLAY )" @ RanClientLib -> GLCharClient.cpp
Before:You must be registered to see links
Code:if( !RANPARAM::bSET_DISPLAY ) if ( pSkinPiece ) { if ( pCharPart && strcmp(pSkinPiece->m_szFileName,pCharPart->GetFileName()) ) m_pSkinChar->SetPiece ( pSkinPiece->m_szFileName, m_pd3dDevice, 0x0, 0, TRUE ); } else { if ( pCharPart ) m_pSkinChar->ResetPiece(emPiece); } } else { SITEM* pItem = GLItemMan::GetInstance().GetItem ( nidITEM ); if( !RANPARAM::bSET_DISPLAY ) //TDEV if ( pItem ) { m_pSkinChar->SetPiece ( pItem->GetWearingFile(emIndex), m_pd3dDevice, NULL, ItemClient.GETGRADE_EFFECT(), TRUE ); } } }
After(Fix):You must be registered to see links
Code:if( !RANPARAM::bSET_DISPLAY ){ } else{ if ( pSkinPiece ){ if ( pCharPart && strcmp(pSkinPiece->m_szFileName,pCharPart->GetFileName()) ) m_pSkinChar->SetPiece ( pSkinPiece->m_szFileName, m_pd3dDevice, 0x0, 0, TRUE ); } else{ if ( pCharPart ) m_pSkinChar->ResetPiece(emPiece); } } } else { SITEM* pItem = GLItemMan::GetInstance().GetItem ( nidITEM ); if( !RANPARAM::bSET_DISPLAY ){ } if ( pItem ) { m_pSkinChar->SetPiece ( pItem->GetWearingFile(emIndex), m_pd3dDevice, NULL, ItemClient.GETGRADE_EFFECT(), TRUE ); } } } }
is it okay if can i copy your code and paste to source?