*Reduce the distance of auto-dismount in quest Grand Theft Palimino

--HG--
branch : trunk
This commit is contained in:
megamage
2009-08-21 13:40:54 -05:00
parent d333cc1deb
commit 7ef7b7e27e

View File

@@ -598,7 +598,7 @@ struct TRINITY_DLL_DECL npc_salanar_the_horsemanAI : public ScriptedAI
{
ScriptedAI::MoveInLineOfSight(who);
if (who->GetTypeId() == TYPEID_UNIT && CAST_CRE(who)->isVehicle() && me->IsWithinDistInMap(who, 10.0f))
if (who->GetTypeId() == TYPEID_UNIT && CAST_CRE(who)->isVehicle() && me->IsWithinDistInMap(who, 5.0f))
{
if (Unit *charmer = who->GetCharmer())
{