Folgendes sagt er beim Komplieren
\Users\Shadow\Desktop\V16 Source\Source\_Common\MoverSkill.cpp(397) : warning C4806: '==' : unsafe operation: no value of type 'bool' promoted to type 'int' can equal the given constant
\Users\Shadow\Desktop\V16 Source\Source\_Common\MoverSkill.cpp(397) : warning C4806: '==' : unsafe operation: no value of type 'bool' promoted to type 'int' can equal the given constant
\Users\Shadow\Desktop\V16 Source\Source\_Common\MoverSkill.cpp(404) : warning C4244: 'argument' : conversion from 'DWORD' to 'WORD', possible loss of data
MoverParam.cpp
Und hier was bei den Zeilen steht
if(( pSkillProp->dwItemJob == JOB_FLORIST_HERO || pSkillProp->dwItemJob == JOB_FORCEMASTER_HERO ) && !pSkillProp->dwID == SI_FLO_CHEER_PATTERS && !pSkillProp == SI_FLO_SUP_ABSOLUTE )
{
CParty* pParty = g_PartyMng.GetParty( ((CUser*)this)->m_idparty );
for( int i = 0; i < pParty->m_nSizeofMember; i++ )
{
CUser* pMember = g_UserMng.GetUserByPlayerID( pParty->m_aMember[i].m_uPlayerId );
if( IsValidObj( pMember ) )
pMember->AddBuff( BUFF_SKILL, pSkillProp->dwID, 1, 300 );
Wo ist den dort der Fehler :s
Thx schon mal