diff options
Diffstat (limited to 'src/server/game/Spells/SpellDefines.h')
| -rw-r--r-- | src/server/game/Spells/SpellDefines.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/game/Spells/SpellDefines.h b/src/server/game/Spells/SpellDefines.h index 9bb1b1277fc..120f2fa68c1 100644 --- a/src/server/game/Spells/SpellDefines.h +++ b/src/server/game/Spells/SpellDefines.h @@ -328,10 +328,10 @@ enum SpellCastTargetFlags : uint32 struct TC_GAME_API SpellDestination { - SpellDestination(); - SpellDestination(float x, float y, float z, float orientation = 0.0f, uint32 mapId = MAPID_INVALID); - SpellDestination(Position const& pos); - SpellDestination(WorldLocation const& loc); + SpellDestination() { } + SpellDestination(float x, float y, float z, float orientation = 0.0f, uint32 mapId = MAPID_INVALID) : _position(mapId, x, y, z, orientation) { } + SpellDestination(Position const& pos) : _position(MAPID_INVALID, pos) { } + SpellDestination(WorldLocation const& loc) : _position(loc) { } SpellDestination(WorldObject const& wObj); void Relocate(Position const& pos); |
