Jump to content

Recommended Posts

Posted

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

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