Core/Objects: Encapsulated Postion::m_orientation field to ensure it is always normalized to 0-2pi range
Closes #7400.
This commit is contained in:
1 parent
69cfc0f7bf
commit
6cea446f22
14 files changed
+46
-52
No files matched your search
@@ -6053,7 +6053,7 @@ void Spell::EffectBind(SpellEffIndex effIndex)
|
||||
loc.m_positionX = st->target_X;
|
||||
loc.m_positionY = st->target_Y;
|
||||
loc.m_positionZ = st->target_Z;
|
||||
loc.m_orientation = st->target_Orientation;
|
||||
loc.SetOrientation(st->target_Orientation);
|
||||
area_id = player->GetAreaId();
|
||||
}
|
||||
else
|
||||
|
||||
Reference in new issue
Block a user