Jump to content

[fix]Fix Crash in XT-002 (Gravity Bomb proc). FROM T


Guest 315907111

Recommended Posts

Shouldn't it be better to fix isHonorOrXPTarget to avoid possible similar crashes from other pieces of code in the future? Something like this should suffice:

bool Player::isHonorOrXPTarget(Unit* pVictim)

{

+ if (!pVictim)

+ return false;

+

uint8 v_level = pVictim->getLevel();

This way you don't have to always check pVictim *before* calling the function, which can be troublesome.

This is minor, but anyway.. :)

Link to comment
Share on other sites

  • 1 year later...
×
×
  • Create New...

Important Information

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. Privacy Policy Terms of Use