[10985] More safe for use PET_FOLLOW_ANGLE define.

This commit is contained in:
VladimirMangos 2011-01-08 05:44:52 +03:00
parent 106440ad89
commit 324c8c4cd2
3 changed files with 3 additions and 3 deletions

View file

@ -129,7 +129,7 @@ typedef std::vector<uint32> AutoSpellList;
#define ACTIVE_SPELLS_MAX 4
#define PET_FOLLOW_DIST 1.0f
#define PET_FOLLOW_ANGLE M_PI_F/2
#define PET_FOLLOW_ANGLE (M_PI_F/2.0f)
class Player;

View file

@ -19519,7 +19519,7 @@ void Player::UpdateVisibilityOf(WorldObject const* viewPoint, WorldObject* targe
{
if(!target->isVisibleForInState(this, viewPoint, true))
{
ObjectGuid t_guid = target->GetGUID();
ObjectGuid t_guid = target->GetObjectGuid();
if (target->GetTypeId()==TYPEID_UNIT)
{

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "10984"
#define REVISION_NR "10985"
#endif // __REVISION_NR_H__