Core/Misc: Moved Position to its own file

(cherry picked from commit 48ee1f003347910a48183f768501c1080fc40269)

Conflicts:
	src/server/game/Entities/Object/Object.cpp
	src/server/game/Entities/Object/Object.h
	src/server/game/Spells/Spell.cpp
This commit is contained in:
Shauren authored and DDuarte committed 2015-05-19 21:44:39 +01:00
1 parent b0ebfd9773
commit 8a013ba0fb
8 files changed
+415 -288

No files matched your search

+1 -1
View File
@@ -390,7 +390,7 @@ void Unit::UpdateSplinePosition()
pos.m_positionX = loc.x;
pos.m_positionY = loc.y;
pos.m_positionZ = loc.z;
pos.m_orientation = loc.orientation;
pos.SetOrientation(loc.orientation);
if (TransportBase* transport = GetDirectTransport())
transport->CalculatePassengerPosition(loc.x, loc.y, loc.z, &loc.orientation);