Core/Objects: Encapsulated Postion::m_orientation field to ensure it is always normalized to 0-2pi range

Closes #7400.
This commit is contained in:
teyrnon authored and Shauren committed 2012-08-20 10:44:14 +02:00
1 parent 69cfc0f7bf
commit 6cea446f22
14 files changed
+46 -52

No files matched your search

+1 -1
View File
@@ -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