void CWndMgr:

utEndurance( CItemElem* pItemElem, CEditString* pEdit, int flag )
{
#if __VER < 11 // __REMOVE_ENDURANCE
// ³»±¸·Â ³ª´Â ³ª¿À°Ô ÇÏ°í »óÁ¡ ÀÎÅÍÆäÀ̽º¿¡¼´Â ¾È³ª¿À°ÔÇÔ 56Àº ³ªÀÇ Invantory °³¼ö
if(flag != APP_SHOP_ )
{ // ³»±¸·Â
if( flag != APP_QUERYEQUIP )
{
if( pItemElem->GetProp()->dwEndurance != 0xffffffff )
{
CString strTemp;
int nEndurance = int((float)pItemElem->m_nHitPoint * 100 / (float)pItemElem->GetProp()->dwEndurance );
int nMaxEndurance = int((float)(pItemElem->GetProp()->nMaxRepair - pItemElem->m_nRepair) * 100 / (float)pItemElem->GetProp()->nMaxRepair );
strTemp.Format( "%s %d%% / %d%%", prj.GetText(TID_GAME_TOOLTIP_DURABILITY), nEndurance, nMaxEndurance );
pEdit->AddString( "\n" );
if( nEndurance != 0 )
pEdit->AddString( strTemp, dwItemColor[g_Option.m_nToolTipText].dwGeneral );
else
pEdit->AddString( strTemp, dwItemColor[g_Option.m_nToolTipText].dwNotUse );
}
}
}
#endif // __REMOVE_ENDURANCE
}