From 2d569883e643ac08d5af6b23f9a0cd3ac4dc0d80 Mon Sep 17 00:00:00 2001 From: megamage Date: Wed, 17 Jun 2009 14:09:17 -0500 Subject: *Add config option CheckDB to check if the contents in FULL folder are applied. --HG-- branch : trunk --- .../scripts/scripts/zone/eastern_plaguelands/the_scarlet_enclave.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/bindings/scripts') diff --git a/src/bindings/scripts/scripts/zone/eastern_plaguelands/the_scarlet_enclave.cpp b/src/bindings/scripts/scripts/zone/eastern_plaguelands/the_scarlet_enclave.cpp index 2cb9954c868..13fd5066a13 100644 --- a/src/bindings/scripts/scripts/zone/eastern_plaguelands/the_scarlet_enclave.cpp +++ b/src/bindings/scripts/scripts/zone/eastern_plaguelands/the_scarlet_enclave.cpp @@ -564,6 +564,8 @@ struct TRINITY_DLL_DECL npc_ros_dark_riderAI : public ScriptedAI deathcharger->RestoreFaction(); deathcharger->RemoveFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_SPELLCLICK); deathcharger->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE); + if(!me->m_Vehicle && deathcharger->isVehicle() && CAST_VEH(deathcharger)->HasEmptySeat(0)) + me->EnterVehicle(CAST_VEH(deathcharger)); } void JustDied(Unit *killer) -- cgit v1.2.3