Jump to content

Recommended Posts

  • Replies 10
  • Created
  • Last Reply

Top Posters In This Topic

  • Premium

Open char_affect.cpp and find:

bool CHARACTER::RemoveAffect(CAffect * pkAff)

After

    if (AFFECT_REVIVE_INVISIBLE != pkAff->dwType)
		ComputePoints();

Add

    else
		UpdatePacket();

And it should look like this:

	ComputeAffect(pkAff, false);

	if (AFFECT_REVIVE_INVISIBLE != pkAff->dwType)
		ComputePoints();
	else
		UpdatePacket();

	CheckMaximumPoints();

 

This is the fix, as I remember. If it's not working, leave a reply. I'll search the original topic.

Link to comment
Share on other sites

Open char_affect.cpp and find:

bool CHARACTER::RemoveAffect(CAffect * pkAff)

After

    if (AFFECT_REVIVE_INVISIBLE != pkAff->dwType)
		ComputePoints();

Add

    else
		UpdatePacket();

And it should look like this:

	ComputeAffect(pkAff, false);

	if (AFFECT_REVIVE_INVISIBLE != pkAff->dwType)
		ComputePoints();
	else
		UpdatePacket();

	CheckMaximumPoints();

 

This is the fix, as I remember. If it's not working, leave a reply. I'll search the original topic.

maybe so?

 

if (AFFECT_REVIVE_INVISIBLE != pkAff->dwType)
	{
		ComputePoints();
	}
	else
	{
		UpdatePacket();
	}
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.