aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Groups
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2024-11-10 18:35:45 +0100
committerShauren <shauren.trinity@gmail.com>2024-11-10 18:35:45 +0100
commitd6ae7030dac388bbdf79954bd235c98209b53630 (patch)
tree998dd6f26431f3377c04ad4f848d2b521d64e58d /src/server/game/Groups
parentb98d83ca5341c48bf3f4dcc3327165d0b5bc07a0 (diff)
Core/Position: Position constructor improvements
* Prevent constructing with only X coord * Remove unneccessary NormalizeOrientation calls when constructed with default orientation (0)
Diffstat (limited to 'src/server/game/Groups')
-rw-r--r--src/server/game/Groups/Group.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Groups/Group.h b/src/server/game/Groups/Group.h
index 98f22523d2f..0f780f127dc 100644
--- a/src/server/game/Groups/Group.h
+++ b/src/server/game/Groups/Group.h
@@ -167,7 +167,7 @@ struct RaidMarker
RaidMarker(uint32 mapId, float positionX, float positionY, float positionZ, ObjectGuid transportGuid = ObjectGuid::Empty)
{
- Location.WorldRelocate(mapId, positionX, positionY, positionZ);
+ Location.WorldRelocate(mapId, positionX, positionY, positionZ, 0.0f);
TransportGUID = transportGuid;
}
};