diff options
author | Shauren <shauren.trinity@gmail.com> | 2025-01-20 19:27:44 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2025-01-20 19:27:44 +0100 |
commit | 0e36fd93601f10949c848c1fc30ee3b70f2cecfa (patch) | |
tree | 16b7dec2365367ae30e7017e04bbf02612f00aa2 /src/server/game/Spells/SpellMgr.h | |
parent | 56fb627c7dd151190412468370db083ef3b044ad (diff) |
Core/Spells: Replace SpellTargetPosition structure with WorldLocation
Diffstat (limited to 'src/server/game/Spells/SpellMgr.h')
-rw-r--r-- | src/server/game/Spells/SpellMgr.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/server/game/Spells/SpellMgr.h b/src/server/game/Spells/SpellMgr.h index 26c7e565cc8..9dd886a4fde 100644 --- a/src/server/game/Spells/SpellMgr.h +++ b/src/server/game/Spells/SpellMgr.h @@ -407,14 +407,7 @@ struct SpellThreatEntry typedef std::unordered_map<uint32, SpellThreatEntry> SpellThreatMap; // coordinates for spells (accessed using SpellMgr functions) -struct SpellTargetPosition -{ - uint32 target_mapId; - float target_X; - float target_Y; - float target_Z; - float target_Orientation; -}; +using SpellTargetPosition = WorldLocation; typedef std::map<std::pair<uint32 /*spell_id*/, SpellEffIndex /*effIndex*/>, SpellTargetPosition> SpellTargetPositionMap; |