diff options
| author | megamage <none@none> | 2009-06-17 14:09:17 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-06-17 14:09:17 -0500 |
| commit | 2d569883e643ac08d5af6b23f9a0cd3ac4dc0d80 (patch) | |
| tree | 9b2201d23090a9fddabf04e19a4afea0aaa70b2f /src/bindings/scripts | |
| parent | cf99758b0b0f857dda37e355801929ece4e6e928 (diff) | |
*Add config option CheckDB to check if the contents in FULL folder are applied.
--HG--
branch : trunk
Diffstat (limited to 'src/bindings/scripts')
| -rw-r--r-- | src/bindings/scripts/scripts/zone/eastern_plaguelands/the_scarlet_enclave.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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) |
