Add function to update orientation of unit (for both server andclient). by NoFantasy

--HG--
branch : trunk
This commit is contained in:
n0n4m3
2009-12-19 17:48:45 +01:00
parent 2925dfcfc4
commit 57bdbdc0ca
3 changed files with 14 additions and 14 deletions
+1
View File
@@ -1624,6 +1624,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject
SetOrientation(GetAngle(target));
}
bool isInBackInMap(Unit const* target, float distance, float arc = M_PI) const;
void SetFacingToObject(WorldObject* pObject);
// Visibility system
UnitVisibility GetVisibility() const { return m_Visibility; }