From 7ef7b7e27eb17ab956d288a301232cafb7118de9 Mon Sep 17 00:00:00 2001 From: megamage Date: Fri, 21 Aug 2009 13:40:54 -0500 Subject: *Reduce the distance of auto-dismount in quest Grand Theft Palimino --HG-- branch : trunk --- .../scripts/scripts/eastern_kingdoms/scarlet_enclave/chapter1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bindings/scripts') diff --git a/src/bindings/scripts/scripts/eastern_kingdoms/scarlet_enclave/chapter1.cpp b/src/bindings/scripts/scripts/eastern_kingdoms/scarlet_enclave/chapter1.cpp index 7564d6821ff..18c77be258a 100644 --- a/src/bindings/scripts/scripts/eastern_kingdoms/scarlet_enclave/chapter1.cpp +++ b/src/bindings/scripts/scripts/eastern_kingdoms/scarlet_enclave/chapter1.cpp @@ -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()) { -- cgit v1.2.3