Jump to content

[one]Backport SELECT_FLAG_NOT_IN_MELEE_RANGE


tyrael

Recommended Posts

in creature.cpp

   if (selectFlags & SELECT_FLAG_IN_MELEE_RANGE && !CanReachWithMeleeAttack(pTarget))
       return false;
++  if (selectFlags & SELECT_FLAG_NOT_IN_MELEE_RANGE && CanReachWithMeleeAttack(pTarget))
       return false;

in creature.h

   SELECT_FLAG_IN_MELEE_RANGE  = 0x040,
   SELECT_FLAG_NOT_IN_MELEE_RANGE  = 0x080,

thank you

Link to comment
Share on other sites

×
×
  • 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