TrinityCore/TrinityCore — pull request #4503 by Subv (2011-12-28 01:40:14+00:00)
Title: Some changes in SMART_ACTION_MOVE_TO_POS

Added support for
SMART_TARGET_CREATURE_RANGE,
SMART_TARGET_CREATURE_GUID,
SMART_TARGET_CREATURE_DISTANCE,
SMART_TARGET_GAMEOBJECT_RANGE,
SMART_TARGET_GAMEOBJECT_GUID,
SMART_TARGET_GAMEOBJECT_DISTANCE,
SMART_TARGET_CLOSEST_CREATURE,
SMART_TARGET_CLOSEST_GAMEOBJECT,
SMART_TARGET_OWNER_OR_SUMMONER

in SMART_ACTION_MOVE_TO_POS

Also enabled SMART_TARGET_STORED, its code is already there, but it was not in the IsValidTarget switch