mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 10:26:28 +01:00
*Reduce the distance of auto-dismount in quest Grand Theft Palimino
--HG-- branch : trunk
This commit is contained in:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user