Jump to content

Recommended Posts

  • 2 weeks later...
  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

20 godzin temu, boaspessoal napisał:

Not tested:

  Odkryj ukrytą treść


if (pAttacker)
{
	LPITEM item = pAttacker->GetWear(WEAR_WEAPON);
	if (item == NULL)
		return;
	else if (item == 105)
		dam = 10;
}

 

 

char_battle.cpp: In member function 'bool CHARACTER::Damage(CHARACTER*, int, EDamageType)':
char_battle.cpp:1971: error: ISO C++ forbids comparison between pointer and integer
 

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.