diff options
author | Trazom62 <none@none> | 2010-03-13 12:15:32 +0100 |
---|---|---|
committer | Trazom62 <none@none> | 2010-03-13 12:15:32 +0100 |
commit | 75a63297ca5758670b6dc1717d2632c204f57d52 (patch) | |
tree | 0d6b12f1beeed159f326823d9e89042107ef6bac /src/game/Creature.h | |
parent | 4c9a9a02b0ab41e0fc251af5b196294617d9f875 (diff) |
Fix ScriptedAI::SelectUnit to support SELECT_TARGET_NEAREST and SELECT_TARGET_FARTHEST.
Remove duplicate select target function CreatureEventAI::SelectUnit.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Creature.h')
-rw-r--r-- | src/game/Creature.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/game/Creature.h b/src/game/Creature.h index 1d0a2fd560f..e0f66eb1963 100644 --- a/src/game/Creature.h +++ b/src/game/Creature.h @@ -296,19 +296,6 @@ enum ChatType CHAT_TYPE_ZONE_YELL = 6 }; -//Selection method used by SelectTarget (CreatureEventAI) -enum AttackingTarget -{ - ATTACKING_TARGET_RANDOM = 0, //Just selects a random target - ATTACKING_TARGET_TOPAGGRO, //Selects targes from top aggro to bottom - ATTACKING_TARGET_BOTTOMAGGRO, //Selects targets from bottom aggro to top - /* not implemented - ATTACKING_TARGET_RANDOM_PLAYER, //Just selects a random target (player only) - ATTACKING_TARGET_TOPAGGRO_PLAYER, //Selects targes from top aggro to bottom (player only) - ATTACKING_TARGET_BOTTOMAGGRO_PLAYER, //Selects targets from bottom aggro to top (player only) - */ -}; - // GCC have alternative #pragma pack() syntax and old gcc version not support pack(pop), also any gcc version not support it at some platform #if defined( __GNUC__ ) #pragma pack() |